Task #96448 - stdout.log
back to task #96448download
COMMAND: su - csmock --session-command 'cd /tmp/tmpimapgm_a && csmock -r fedora-rawhide-x86_64 -t cppcheck,unicontrol,shellcheck,gcc,clippy -o /tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.tar.xz --gcc-analyze --unicontrol-notests --unicontrol-bidi-only --install pam /tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm'
-------------------------------------------------------------------------------
scan.ini: [scan]
scan.ini: tool = csmock
scan.ini: tool-version = csmock-3.8.3.20260128.181932.g41af877-1.el9
scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,shellcheck,gcc,clippy' '-o' '/tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm'
scan.ini: host = ip-172-16-1-101.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.tar.xz
scan.ini: time-created = 2026-02-02 10:19:07
scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol
scan.ini: mock-config = fedora-rawhide-x86_64
scan.ini: project-name = conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee
scan.ini: known-false-positives = /usr/share/csmock/known-false-positives.js
scan.ini: known-false-positives-rpm = known-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
>>> 2026-02-02 10:19:07 rpm -qa | sort -V > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/rpm-list-host.txt'
scan.ini: analyzer-version-unicontrol = 0.0.2
>>> 2026-02-02 10:19:08 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init"
INFO: mock.py version 6.6 starting (python version = 3.9.25, NVR = mock-6.6-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-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: 6.6
INFO: Mock Version: 6.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
>>> 2026-02-02 10:19:10 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1769990400
Wrote: /builddir/build/SRPMS/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.src.rpm
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package "pkgconf-pkg-config-2.3.0-4.fc44.x86_64" is already installed.
Package "systemd-libs-259-9.fc44.x86_64" is already installed.
Package Arch Version Repository Size
Installing:
gcc x86_64 0:16.0.1-0.5.fc44 fedora 120.7 MiB
git-core x86_64 0:2.52.0-3.fc44 fedora 24.5 MiB
glib2-devel x86_64 0:2.87.0-4.fc44 fedora 15.8 MiB
golang-github-cpuguy83-md2man x86_64 0:2.0.7-5.fc44 fedora 2.2 MiB
libseccomp-devel x86_64 0:2.6.0-3.fc44 fedora 113.7 KiB
make x86_64 1:4.4.1-12.fc44 fedora 1.8 MiB
systemd-devel x86_64 0:259-9.fc44 fedora 600.1 KiB
Installing dependencies:
annobin-docs noarch 0:13.05-3.fc44 fedora 99.2 KiB
annobin-plugin-gcc x86_64 0:13.05-3.fc44 fedora 695.7 KiB
cmake-filesystem x86_64 0:3.31.10-5.fc44 fedora 0.0 B
cpp x86_64 0:16.0.1-0.5.fc44 fedora 42.1 MiB
expat x86_64 0:2.7.3-2.fc44 fedora 316.8 KiB
gcc-plugin-annobin x86_64 0:16.0.1-0.5.fc44 fedora 57.2 KiB
glib2 x86_64 0:2.87.0-4.fc44 fedora 15.0 MiB
glibc-devel x86_64 0:2.43-1.fc44 fedora 2.3 MiB
kernel-headers x86_64 0:6.19.0-0.rc7.47.fc44 fedora 6.9 MiB
less x86_64 0:691-2.fc44 fedora 464.5 KiB
libatomic x86_64 0:16.0.1-0.5.fc44 fedora 45.4 KiB
libblkid-devel x86_64 0:2.41.3-12.fc44 fedora 44.9 KiB
libcbor x86_64 0:0.13.0-2.fc44 fedora 79.5 KiB
libedit x86_64 0:3.1-58.20251016cvs.fc44 fedora 248.1 KiB
libffi-devel x86_64 0:3.5.2-2.fc44 fedora 33.9 KiB
libfido2 x86_64 0:1.16.0-5.fc44 fedora 246.4 KiB
libmount-devel x86_64 0:2.41.3-12.fc44 fedora 65.5 KiB
libmpc x86_64 0:1.3.1-9.fc44 fedora 160.4 KiB
libseccomp x86_64 0:2.6.0-3.fc44 fedora 224.8 KiB
libselinux-devel x86_64 0:3.10-0.rc2.1.fc44 fedora 121.6 KiB
libsepol-devel x86_64 0:3.10-0.rc2.1.fc44 fedora 121.5 KiB
libxcrypt-devel x86_64 0:4.5.2-3.fc44 fedora 31.0 KiB
mpdecimal x86_64 0:4.0.1-3.fc44 fedora 217.1 KiB
openssh x86_64 0:10.2p1-2.fc44 fedora 1.4 MiB
openssh-clients x86_64 0:10.2p1-2.fc44 fedora 2.7 MiB
pcre2-devel x86_64 0:10.47-1.fc44.1 fedora 2.1 MiB
pcre2-utf16 x86_64 0:10.47-1.fc44.1 fedora 655.2 KiB
pcre2-utf32 x86_64 0:10.47-1.fc44.1 fedora 623.1 KiB
python-pip-wheel noarch 0:25.3-2.fc44 fedora 1.2 MiB
python3 x86_64 0:3.14.2-3.fc44 fedora 28.7 KiB
python3-libs x86_64 0:3.14.2-3.fc44 fedora 43.6 MiB
python3-packaging noarch 0:25.0-8.fc44 fedora 607.4 KiB
sysprof-capture-devel x86_64 0:49.0-2.fc44 fedora 811.9 KiB
systemd-rpm-macros noarch 0:259-9.fc44 fedora 8.5 KiB
tzdata noarch 0:2025c-2.fc44 fedora 1.2 MiB
zlib-ng-compat-devel x86_64 0:2.3.2-3.fc44 fedora 107.0 KiB
Transaction Summary:
Installing: 43 packages
Total size of inbound packages is 88 MiB. Need to download 0 B.
After this operation, 290 MiB extra will be used (install 290 MiB, remove 0 B).
[ 1/43] gcc-0:16.0.1-0.5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/43] git-core-0:2.52.0-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/43] golang-github-cpuguy83-md2man-0 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/43] make-1:4.4.1-12.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/43] glib2-devel-0:2.87.0-4.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/43] libseccomp-devel-0:2.6.0-3.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/43] systemd-devel-0:259-9.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/43] cpp-0:16.0.1-0.5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/43] libmpc-0:1.3.1-9.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/43] expat-0:2.7.3-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/43] less-0:691-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/43] openssh-clients-0:10.2p1-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[13/43] glib2-0:2.87.0-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[14/43] python3-packaging-0:25.0-8.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[15/43] libseccomp-0:2.6.0-3.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[16/43] libedit-0:3.1-58.20251016cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[17/43] libfido2-0:1.16.0-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[18/43] openssh-0:10.2p1-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[19/43] libcbor-0:0.13.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[20/43] python3-0:3.14.2-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[21/43] python3-libs-0:3.14.2-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[22/43] mpdecimal-0:4.0.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[23/43] python-pip-wheel-0:25.3-2.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[24/43] tzdata-0:2025c-2.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[25/43] libffi-devel-0:3.5.2-2.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[26/43] libmount-devel-0:2.41.3-12.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[27/43] libselinux-devel-0:3.10-0.rc2.1 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[28/43] libsepol-devel-0:3.10-0.rc2.1.f 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[29/43] pcre2-devel-0:10.47-1.fc44.1.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[30/43] pcre2-utf16-0:10.47-1.fc44.1.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[31/43] pcre2-utf32-0:10.47-1.fc44.1.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[32/43] sysprof-capture-devel-0:49.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[33/43] zlib-ng-compat-devel-0:2.3.2-3. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[34/43] cmake-filesystem-0:3.31.10-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[35/43] glibc-devel-0:2.43-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[36/43] libxcrypt-devel-0:4.5.2-3.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[37/43] libatomic-0:16.0.1-0.5.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[38/43] libblkid-devel-0:2.41.3-12.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[39/43] kernel-headers-0:6.19.0-0.rc7.4 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[40/43] annobin-plugin-gcc-0:13.05-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[41/43] gcc-plugin-annobin-0:16.0.1-0.5 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[42/43] annobin-docs-0:13.05-3.fc44.noa 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[43/43] systemd-rpm-macros-0:259-9.fc44 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/45] Verify package files 100% | 116.0 B/s | 43.0 B | 00m00s
[ 2/45] Prepare transaction 100% | 704.0 B/s | 43.0 B | 00m00s
[ 3/45] Installing expat-0:2.7.3-2.fc44 100% | 13.5 MiB/s | 318.9 KiB | 00m00s
[ 4/45] Installing libmpc-0:1.3.1-9.fc4 100% | 31.6 MiB/s | 162.0 KiB | 00m00s
[ 5/45] Installing cpp-0:16.0.1-0.5.fc4 100% | 263.4 MiB/s | 42.1 MiB | 00m00s
[ 6/45] Installing annobin-docs-0:13.05 100% | 16.3 MiB/s | 100.3 KiB | 00m00s
[ 7/45] Installing kernel-headers-0:6.1 100% | 99.0 MiB/s | 7.0 MiB | 00m00s
[ 8/45] Installing glibc-devel-0:2.43-1 100% | 74.5 MiB/s | 2.4 MiB | 00m00s
[ 9/45] Installing libxcrypt-devel-0:4. 100% | 6.5 MiB/s | 33.3 KiB | 00m00s
[10/45] Installing libblkid-devel-0:2.4 100% | 9.0 MiB/s | 46.0 KiB | 00m00s
[11/45] Installing libatomic-0:16.0.1-0 100% | 11.4 MiB/s | 46.5 KiB | 00m00s
[12/45] Installing cmake-filesystem-0:3 100% | 1.1 MiB/s | 7.6 KiB | 00m00s
[13/45] Installing zlib-ng-compat-devel 100% | 21.2 MiB/s | 108.6 KiB | 00m00s
[14/45] Installing sysprof-capture-deve 100% | 113.7 MiB/s | 814.8 KiB | 00m00s
[15/45] Installing pcre2-utf32-0:10.47- 100% | 101.6 MiB/s | 623.9 KiB | 00m00s
[16/45] Installing pcre2-utf16-0:10.47- 100% | 106.8 MiB/s | 656.1 KiB | 00m00s
[17/45] Installing pcre2-devel-0:10.47- 100% | 64.2 MiB/s | 2.1 MiB | 00m00s
[18/45] Installing libsepol-devel-0:3.1 100% | 14.0 MiB/s | 129.0 KiB | 00m00s
[19/45] Installing libselinux-devel-0:3 100% | 12.7 MiB/s | 156.3 KiB | 00m00s
[20/45] Installing libmount-devel-0:2.4 100% | 16.2 MiB/s | 66.5 KiB | 00m00s
[21/45] Installing libffi-devel-0:3.5.2 100% | 3.9 MiB/s | 35.6 KiB | 00m00s
[22/45] Installing tzdata-0:2025c-2.fc4 100% | 22.9 MiB/s | 1.5 MiB | 00m00s
[23/45] Installing python-pip-wheel-0:2 100% | 200.7 MiB/s | 1.2 MiB | 00m00s
[24/45] Installing mpdecimal-0:4.0.1-3. 100% | 21.4 MiB/s | 218.6 KiB | 00m00s
[25/45] Installing python3-libs-0:3.14. 100% | 203.8 MiB/s | 44.0 MiB | 00m00s
[26/45] Installing python3-0:3.14.2-3.f 100% | 1.7 MiB/s | 30.5 KiB | 00m00s
[27/45] Installing python3-packaging-0: 100% | 60.5 MiB/s | 619.9 KiB | 00m00s
[28/45] Installing libcbor-0:0.13.0-2.f 100% | 19.7 MiB/s | 80.9 KiB | 00m00s
[29/45] Installing libfido2-0:1.16.0-5. 100% | 40.4 MiB/s | 247.9 KiB | 00m00s
[30/45] Installing openssh-0:10.2p1-2.f 100% | 62.3 MiB/s | 1.4 MiB | 00m00s
[31/45] Installing libedit-0:3.1-58.202 100% | 34.8 MiB/s | 249.8 KiB | 00m00s
[32/45] Installing openssh-clients-0:10 100% | 80.7 MiB/s | 2.7 MiB | 00m00s
[33/45] Installing libseccomp-0:2.6.0-3 100% | 36.9 MiB/s | 226.7 KiB | 00m00s
[34/45] Installing glib2-0:2.87.0-4.fc4 100% | 209.3 MiB/s | 15.1 MiB | 00m00s
[35/45] Installing less-0:691-2.fc44.x8 100% | 20.8 MiB/s | 468.1 KiB | 00m00s
[36/45] Installing make-1:4.4.1-12.fc44 100% | 64.3 MiB/s | 1.8 MiB | 00m00s
[37/45] Installing gcc-0:16.0.1-0.5.fc4 100% | 306.5 MiB/s | 120.8 MiB | 00m00s
[38/45] Installing annobin-plugin-gcc-0 100% | 40.1 MiB/s | 697.4 KiB | 00m00s
[39/45] Installing gcc-plugin-annobin-0 100% | 3.2 MiB/s | 58.8 KiB | 00m00s
[40/45] Installing git-core-0:2.52.0-3. 100% | 266.7 MiB/s | 24.5 MiB | 00m00s
[41/45] Installing glib2-devel-0:2.87.0 100% | 226.1 MiB/s | 15.8 MiB | 00m00s
[42/45] Installing libseccomp-devel-0:2 100% | 5.6 MiB/s | 120.4 KiB | 00m00s
[43/45] Installing systemd-rpm-macros-0 100% | 1.7 MiB/s | 8.9 KiB | 00m00s
[44/45] Installing systemd-devel-0:259- 100% | 23.2 MiB/s | 736.7 KiB | 00m00s
[45/45] Installing golang-github-cpuguy 100% | 675.4 KiB/s | 2.2 MiB | 00m03s
Complete!
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1769990400
Wrote: /builddir/build/SRPMS/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.src.rpm
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package "gcc-16.0.1-0.5.fc44.x86_64" is already installed.
Package "git-core-2.52.0-3.fc44.x86_64" is already installed.
Package "glib2-devel-2.87.0-4.fc44.x86_64" is already installed.
Package "golang-github-cpuguy83-md2man-2.0.7-5.fc44.x86_64" is already installed.
Package "libseccomp-devel-2.6.0-3.fc44.x86_64" is already installed.
Package "make-1:4.4.1-12.fc44.x86_64" is already installed.
Package "pkgconf-pkg-config-2.3.0-4.fc44.x86_64" is already installed.
Package "systemd-devel-259-9.fc44.x86_64" is already installed.
Package "systemd-libs-259-9.fc44.x86_64" is already installed.
Nothing to do.
>>> 2026-02-02 10:19:21 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
fedora 100% | 1.3 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package "tar-2:1.35-8.fc44.x86_64" is already installed.
Package "gcc-16.0.1-0.5.fc44.x86_64" is already installed.
Package Arch Version Repository Size
Installing:
ShellCheck x86_64 0:0.11.0-3.fc44 fedora 21.9 MiB
cppcheck x86_64 0:2.19.1-3.fc44 fedora 11.0 MiB
pam x86_64 0:1.7.2-1.fc44 fedora 1.6 MiB
Installing dependencies:
authselect x86_64 0:1.7.1-1.fc44 fedora 202.0 KiB
authselect-libs x86_64 0:1.7.1-1.fc44 fedora 889.7 KiB
cracklib x86_64 0:2.9.11-10.fc44 fedora 225.7 KiB
gdbm x86_64 1:1.23-11.fc44 fedora 459.8 KiB
libnsl2 x86_64 0:2.0.1-5.fc44 fedora 57.7 KiB
libpwquality x86_64 0:1.4.5-15.fc44 fedora 408.7 KiB
libtirpc x86_64 0:1.3.7-2.fc44 fedora 204.3 KiB
tinyxml2 x86_64 0:11.0.0-2.fc44 fedora 104.7 KiB
Transaction Summary:
Installing: 11 packages
Total size of inbound packages is 8 MiB. Need to download 0 B.
After this operation, 37 MiB extra will be used (install 37 MiB, remove 0 B).
[ 1/11] cppcheck-0:2.19.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/11] ShellCheck-0:0.11.0-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/11] pam-0:1.7.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/11] tinyxml2-0:11.0.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/11] authselect-0:1.7.1-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/11] libnsl2-0:2.0.1-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/11] libpwquality-0:1.4.5-15.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/11] libtirpc-0:1.3.7-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/11] authselect-libs-0:1.7.1-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/11] cracklib-0:2.9.11-10.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/11] gdbm-1:1.23-11.fc44.x86_64 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% | 305.0 B/s | 11.0 B | 00m00s
[ 2/13] Prepare transaction 100% | 423.0 B/s | 11.0 B | 00m00s
[ 3/13] Installing libtirpc-0:1.3.7-2.f 100% | 22.4 MiB/s | 206.4 KiB | 00m00s
[ 4/13] Installing libnsl2-0:2.0.1-5.fc 100% | 14.4 MiB/s | 58.8 KiB | 00m00s
[ 5/13] Installing gdbm-1:1.23-11.fc44. 100% | 18.2 MiB/s | 464.7 KiB | 00m00s
[ 6/13] Installing cracklib-0:2.9.11-10 100% | 9.3 MiB/s | 237.0 KiB | 00m00s
[ 7/13] Installing libpwquality-0:1.4.5 100% | 15.8 MiB/s | 421.0 KiB | 00m00s
[ 8/13] Installing authselect-libs-0:1. 100% | 46.6 MiB/s | 906.2 KiB | 00m00s
[ 9/13] Installing tinyxml2-0:11.0.0-2. 100% | 20.7 MiB/s | 106.0 KiB | 00m00s
[10/13] Installing cppcheck-0:2.19.1-3. 100% | 200.5 MiB/s | 11.0 MiB | 00m00s
[11/13] Installing authselect-0:1.7.1-1 100% | 8.5 MiB/s | 207.9 KiB | 00m00s
[12/13] Installing pam-0:1.7.2-1.fc44.x 100% | 38.3 MiB/s | 1.7 MiB | 00m00s
[13/13] Installing ShellCheck-0:0.11.0- 100% | 155.1 MiB/s | 21.9 MiB | 00m00s
Complete!
>>> 2026-02-02 10:19:23 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/rpm-list-mock.txt
>>> 2026-02-02 10:19:24 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky934_ndl/rpm-list-mock-provides.txt
>>> 2026-02-02 10:19:25 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm" "/builddir/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm"
>>> 2026-02-02 10:19:26 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"
>>> 2026-02-02 10:19:27 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/builddir/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm'\""
Updating / installing...
conmon-2:2.1.13-1.20260202095438222298########################################
>>> 2026-02-02 10:19:29 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/conmon.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/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1769990400
Wrote: /builddir/build/SRPMS/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.src.rpm
renamed 'conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.src.rpm' -> '/builddir/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm'
>>> 2026-02-02 10:19:30 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm" "/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm"
>>> 2026-02-02 10:19:31 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1769990400
Wrote: /builddir/build/SRPMS/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.src.rpm
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package "gcc-16.0.1-0.5.fc44.x86_64" is already installed.
Package "git-core-2.52.0-3.fc44.x86_64" is already installed.
Package "glib2-devel-2.87.0-4.fc44.x86_64" is already installed.
Package "golang-github-cpuguy83-md2man-2.0.7-5.fc44.x86_64" is already installed.
Package "libseccomp-devel-2.6.0-3.fc44.x86_64" is already installed.
Package "make-1:4.4.1-12.fc44.x86_64" is already installed.
Package "pkgconf-pkg-config-2.3.0-4.fc44.x86_64" is already installed.
Package "systemd-devel-259-9.fc44.x86_64" is already installed.
Package "systemd-libs-259-9.fc44.x86_64" is already installed.
Nothing to do.
>>> 2026-02-02 10:19:35 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package "tar-2:1.35-8.fc44.x86_64" is already installed.
Package "pam-1.7.2-1.fc44.x86_64" is already installed.
Package "cppcheck-2.19.1-3.fc44.x86_64" is already installed.
Package "gcc-16.0.1-0.5.fc44.x86_64" is already installed.
Package "ShellCheck-0.11.0-3.fc44.x86_64" is already installed.
Nothing to do.
>>> 2026-02-02 10:19:36 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/rpm-list-mock.txt
>>> 2026-02-02 10:19:37 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky934_ndl/rpm-list-mock-provides.txt
>>> 2026-02-02 10:19:39 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff"
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
csdiff x86_64 0:3.5.5-5.fc44 fedora 4.1 MiB
Installing dependencies:
boost-atomic x86_64 0:1.90.0-6.fc44 fedora 20.7 KiB
boost-container x86_64 0:1.90.0-6.fc44 fedora 69.3 KiB
boost-filesystem x86_64 0:1.90.0-6.fc44 fedora 159.7 KiB
boost-program-options x86_64 0:1.90.0-6.fc44 fedora 284.6 KiB
Transaction Summary:
Installing: 5 packages
Total size of inbound packages is 1 MiB. Need to download 0 B.
After this operation, 5 MiB extra will be used (install 5 MiB, remove 0 B).
[1/5] csdiff-0:3.5.5-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[2/5] boost-filesystem-0:1.90.0-6.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[3/5] boost-program-options-0:1.90.0-6. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[4/5] boost-atomic-0:1.90.0-6.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[5/5] boost-container-0:1.90.0-6.fc44.x 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.0 KiB/s | 5.0 B | 00m00s
[2/7] Prepare transaction 100% | 238.0 B/s | 5.0 B | 00m00s
[3/7] Installing boost-container-0:1.90 100% | 22.9 MiB/s | 70.3 KiB | 00m00s
[4/7] Installing boost-program-options- 100% | 93.0 MiB/s | 285.6 KiB | 00m00s
[5/7] Installing boost-atomic-0:1.90.0- 100% | 10.6 MiB/s | 21.7 KiB | 00m00s
[6/7] Installing boost-filesystem-0:1.9 100% | 52.3 MiB/s | 160.7 KiB | 00m00s
[7/7] Installing csdiff-0:3.5.5-5.fc44. 100% | 57.6 MiB/s | 4.1 MiB | 00m00s
Complete!
>>> 2026-02-02 10:19:40 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy"
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
clippy x86_64 0:1.93.0-2.fc44 fedora 12.6 MiB
Installing dependencies:
cargo x86_64 0:1.93.0-2.fc44 fedora 22.5 MiB
libgit2 x86_64 0:1.9.2-1.fc44 fedora 1.4 MiB
libssh2 x86_64 0:1.11.1-5.fc44 fedora 338.6 KiB
llhttp x86_64 0:9.3.0-6.fc44 fedora 96.4 KiB
llvm-filesystem x86_64 0:21.1.8-6.fc44 fedora 0.0 B
llvm-libs x86_64 0:21.1.8-6.fc44 fedora 138.6 MiB
rust x86_64 0:1.93.0-2.fc44 fedora 90.4 MiB
rust-std-static x86_64 0:1.93.0-2.fc44 fedora 166.0 MiB
Transaction Summary:
Installing: 9 packages
Total size of inbound packages is 117 MiB. Need to download 0 B.
After this operation, 432 MiB extra will be used (install 432 MiB, remove 0 B).
[1/9] clippy-0:1.93.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[2/9] cargo-0:1.93.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[3/9] rust-0:1.93.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[4/9] libgit2-0:1.9.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[5/9] libssh2-0:1.11.1-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[6/9] llvm-libs-0:21.1.8-6.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[7/9] rust-std-static-0:1.93.0-2.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[8/9] llhttp-0:9.3.0-6.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[9/9] llvm-filesystem-0:21.1.8-6.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/11] Verify package files 100% | 18.0 B/s | 9.0 B | 00m00s
[ 2/11] Prepare transaction 100% | 375.0 B/s | 9.0 B | 00m00s
[ 3/11] Installing libssh2-0:1.11.1-5.f 100% | 66.5 MiB/s | 340.2 KiB | 00m00s
[ 4/11] Installing llvm-filesystem-0:21 100% | 531.2 KiB/s | 1.1 KiB | 00m00s
[ 5/11] Installing llvm-libs-0:21.1.8-6 100% | 352.7 MiB/s | 138.6 MiB | 00m00s
[ 6/11] Installing rust-0:1.93.0-2.fc44 100% | 308.4 MiB/s | 90.4 MiB | 00m00s
[ 7/11] Installing rust-std-static-0:1. 100% | 399.1 MiB/s | 166.0 MiB | 00m00s
[ 8/11] Installing llhttp-0:9.3.0-6.fc4 100% | 31.8 MiB/s | 97.8 KiB | 00m00s
[ 9/11] Installing libgit2-0:1.9.2-1.fc 100% | 199.1 MiB/s | 1.4 MiB | 00m00s
[10/11] Installing cargo-0:1.93.0-2.fc4 100% | 250.3 MiB/s | 22.5 MiB | 00m00s
[11/11] Installing clippy-0:1.93.0-2.fc 100% | 4.9 MiB/s | 12.6 MiB | 00m03s
Complete!
>>> 2026-02-02 10:19:47 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic"
Updating and loading repositories:
fedora 100% | 1.2 MiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
python3-magic noarch 0:0.4.27-16.fc44 fedora 68.1 KiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 32 KiB. Need to download 0 B.
After this operation, 68 KiB extra will be used (install 68 KiB, remove 0 B).
[1/1] python3-magic-0:0.4.27-16.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 142.0 B/s | 1.0 B | 00m00s
[3/3] Installing python3-magic-0:0.4.27 100% | 1.7 MiB/s | 72.0 KiB | 00m00s
Complete!
>>> 2026-02-02 10:19:49 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six"
Updating and loading repositories:
fedora 100% | 978.6 KiB/s | 26.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
python3-six noarch 0:1.17.0-8.fc44 fedora 118.0 KiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 42 KiB. Need to download 0 B.
After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B).
[1/1] python3-six-0:1.17.0-8.fc44.noarc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 142.0 B/s | 1.0 B | 00m00s
[3/3] Installing python3-six-0:1.17.0-8 100% | 3.6 MiB/s | 120.3 KiB | 00m00s
Complete!
>>> 2026-02-02 10:19:51 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/rpm-list-mock.txt
>>> 2026-02-02 10:19:52 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky934_ndl/rpm-list-mock-provides.txt
>>> 2026-02-02 10:19:53 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"
>>> 2026-02-02 10:19:54 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'
tar: Removing leading `/' from member names
scan.ini: analyzer-version-clippy = 1.93.0
>>> 2026-02-02 10:19:56 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh"
renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original'
scan.ini: analyzer-version-cppcheck = 2.19.1
scan.ini: analyzer-version-gcc = 16.0.1
>>> 2026-02-02 10:19:58 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\""
>>> 2026-02-02 10:19:59 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fanalyzer-assume-nothrow\""
gcc: error: unrecognized command-line option ‘-fanalyzer-assume-nothrow’
>>> 2026-02-02 10:20:00 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\""
scan.ini: analyzer-version-gcc-analyzer = 16.0.1
scan.ini: analyzer-version-shellcheck = 0.11.0
>>> 2026-02-02 10:20:03 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.src.rpm'\""
Updating / installing...
conmon-2:2.1.13-1.20260202095438222298########################################
>>> 2026-02-02 10:20:04 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir"
>>> 2026-02-02 10:20:05 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done"
RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh
+ /usr/bin/gio-querymodules-64 /usr/lib64/gio/modules
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
No schema files found: doing nothing.
RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh
+ sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs
'/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true'
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh
>>> 2026-02-02 10:20:06 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/conmon.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 6.6 starting (python version = 3.9.25, NVR = mock-6.6-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/conmon.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: 6.6
INFO: Mock Version: 6.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/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Start: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1769990400
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.dZAcSZ
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t7UNc7
+ umask 022
+ cd /builddir/build/BUILD/conmon-2.1.13-build
+ cd /builddir/build/BUILD/conmon-2.1.13-build
+ rm -rf conmon-2.1.13
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/conmon-2.1.13.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd conmon-2.1.13
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ GIT_COMMITTER_DATE=@1769990400
+ GIT_AUTHOR_DATE=@1769990400
+ /usr/bin/git commit -q --no-gpg-sign --allow-empty -a --author 'rpm-build <rpm-build>' -m 'conmon-2.1.13 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run
>>> 2026-02-02 10:20:08 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build"
>>> 2026-02-02 10:20:09 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck: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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/conmon.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.6 starting (python version = 3.9.25, NVR = mock-6.6-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck: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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/conmon.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.6
INFO: Mock Version: 6.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/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1769990400
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VGiSVp
+ umask 022
+ cd /builddir/build/BUILD/conmon-2.1.13-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-hardened-ld-errors -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 conmon-2.1.13
+ /usr/bin/make DEBUGFLAG=-g bin/conmon
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/conmon.o -c src/conmon.c
In function ‘main’:
cc1: warning: leak of file descriptor ‘workerfd_stderr’ [CWE-775] [-Wanalyzer-fd-leak]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:39:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (14) opened here as read-write <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (15) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:300:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:303:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:17: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:13: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:13: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:12: note: (30) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:312:72: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:321:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:323:29: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:331:12: note: (34) following ‘false’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (36) following ‘false’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (38) following ‘false’ branch (when ‘workerfd_stderr < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:341:12: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:356:20: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:368:13: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:399:12: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:404:25: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:537:12: note: (44) following ‘false’ branch (when ‘attach_symlink_dir_path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:512:30: note: (45) inlined call to ‘freep’ from ‘main’ <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:8: <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:512:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:46:29: note: (47) inlined call to ‘closep’ from ‘main’ <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:46:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (48) if ‘close’ throws an exception... <--[gcc]
In function ‘main’:
cc1: note: (49) ‘workerfd_stderr’ leaks here
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:143:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘csname’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:143:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:143:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (13) if ‘setup_console_socket’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:143:30: note: (14) inlined call to ‘freep’ from ‘main’ <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:143:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (15) use of uninitialized value ‘csname’ here <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:202:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘attach_symlink_dir_path’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:202:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:202:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (15) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:203:12: note: (18) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:203:41: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:203:41: note: (20) if ‘logging_is_passthrough’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:202:30: note: (21) inlined call to ‘freep’ from ‘main’ <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:202:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (22) use of uninitialized value ‘attach_symlink_dir_path’ here <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:47:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: warning: use of uninitialized value ‘dev_null_w_cleanup’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:47:29: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:47:29: note: (2) capacity: 4 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:50:29: note: (3) if ‘initialize_cli’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:47:29: note: (4) inlined call to ‘closep’ from ‘main’ <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:47:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (5) use of uninitialized value ‘dev_null_w_cleanup’ here <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:46:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: warning: use of uninitialized value ‘dev_null_r_cleanup’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:39:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:46:29: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:46:29: note: (3) capacity: 4 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (16) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:300:13: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:303:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:17: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:13: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:13: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:12: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:312:72: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:321:12: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:323:29: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:331:12: note: (35) following ‘false’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (37) following ‘false’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (39) following ‘false’ branch (when ‘workerfd_stderr < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:341:12: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:356:20: note: (41) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:368:13: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:399:12: note: (43) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:404:25: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:537:12: note: (45) following ‘false’ branch (when ‘attach_symlink_dir_path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:512:30: note: (46) inlined call to ‘freep’ from ‘main’ <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:512:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:47:29: note: (48) inlined call to ‘closep’ from ‘main’ <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:47:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (49) if ‘close’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:46:29: note: (50) inlined call to ‘closep’ from ‘main’ <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:46:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (51) use of uninitialized value ‘dev_null_r_cleanup’ here <--[gcc]
In function ‘gerror_free_cleanup’,
inlined from ‘main’ at src/conmon.c:43:27:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: warning: leak of file descriptor ‘workerfd_stderr’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:39:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (14) opened here as read-write <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (15) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:300:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:303:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:17: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:13: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:13: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:12: note: (30) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:312:72: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:321:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:323:29: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:331:12: note: (34) following ‘false’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (36) following ‘false’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (38) following ‘false’ branch (when ‘workerfd_stderr < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:341:12: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:356:20: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:368:13: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:399:12: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:404:25: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:537:12: note: (44) following ‘false’ branch (when ‘attach_symlink_dir_path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:512:30: note: (45) inlined call to ‘freep’ from ‘main’ <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:512:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:43:34: note: (47) inlined call to ‘gerror_free_cleanup’ from ‘main’ <--[gcc]
In function ‘gerror_free_cleanup’,
inlined from ‘main’ at src/conmon.c:43:27:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:236:12: note: (48) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (50) if ‘g_error_free’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (51) ‘workerfd_stderr’ leaks here <--[gcc]
In function ‘gerror_free_cleanup’,
inlined from ‘main’ at src/conmon.c:43:27:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: warning: leak of file descriptor ‘workerfd_stderr’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:39:5: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (14) opened here as read-write <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (15) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:300:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:303:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:17: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:304:13: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:13: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:308:12: note: (30) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:312:72: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:321:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:323:29: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:331:12: note: (34) following ‘false’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:333:12: note: (36) following ‘false’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:335:12: note: (38) following ‘false’ branch (when ‘workerfd_stderr < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:341:12: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:356:20: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:368:13: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:399:12: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:404:25: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:537:12: note: (44) following ‘false’ branch (when ‘attach_symlink_dir_path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:512:30: note: (45) inlined call to ‘freep’ from ‘main’ <--[gcc]
In function ‘freep’,
inlined from ‘main’ at src/conmon.c:512:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:46:29: note: (47) inlined call to ‘closep’ from ‘main’ <--[gcc]
In function ‘closep’,
inlined from ‘main’ at src/conmon.c:46:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (48) if ‘close’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:43:34: note: (49) inlined call to ‘gerror_free_cleanup’ from ‘main’ <--[gcc]
In function ‘gerror_free_cleanup’,
inlined from ‘main’ at src/conmon.c:43:27:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:236:12: note: (50) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (52) if ‘g_error_free’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:237:17: note: (53) ‘workerfd_stderr’ leaks here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘disconnect_std_streams’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:29:12: warning: leak of file descriptor ‘dup2(dev_null_r, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:29:13: note: (1) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:29:12: note: (2) ‘dup2(dev_null_r, 0)’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:12: warning: leak of file descriptor ‘dup2(dev_null_w, 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:29:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:13: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:13: note: (3) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:12: note: (4) ‘dup2(dev_null_w, 1)’ leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:33:12: warning: leak of file descriptor ‘dup2(dev_null_w, 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:29:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:13: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:31:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:33:13: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:33:13: note: (5) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:33:12: note: (6) ‘dup2(dev_null_w, 2)’ leaks here; was opened at (5) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:244:28: warning: leak of file descriptor ‘dup2(workerfd_stdin, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:22: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:20: note: (28) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (30) following ‘true’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:243:48: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:244:29: note: (32) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:244:28: note: (33) ‘dup2(workerfd_stdin, 0)’ leaks here; was opened at (32) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:251:28: warning: leak of file descriptor ‘dup2(workerfd_stdout, 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:22: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:20: note: (28) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (30) following ‘true’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:243:48: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:244:28: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:246:44: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:246:28: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:249:28: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:249:28: note: (36) following ‘true’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:250:49: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:251:29: note: (38) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:251:28: note: (39) ‘dup2(workerfd_stdout, 1)’ leaks here; was opened at (38) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:256:28: warning: leak of file descriptor ‘dup2(workerfd_stderr, 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (13) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:22: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:20: note: (28) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:242:28: note: (30) following ‘true’ branch (when ‘workerfd_stdin < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:243:48: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:244:28: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:246:44: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:246:28: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:249:28: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:249:28: note: (36) following ‘true’ branch (when ‘workerfd_stdout < 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:250:49: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:251:28: note: (38) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:253:45: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:253:28: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:256:29: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:256:29: note: (42) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:256:28: note: (43) ‘dup2(workerfd_stderr, 2)’ leaks here; was opened at (42) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:285:44: warning: ‘read’ on closed file descriptor ‘get_pipe_fd_from_env("_OCI_STARTPIPE")’ [-Wanalyzer-fd-use-after-close] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:65:12: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:69:28: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:70:20: note: (5) following ‘false’ branch (when ‘num_read >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:75:21: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:75:20: note: (7) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:76:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:76:25: note: (9) closed here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (16) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (20) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (29) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:20: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:21: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:20: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:22: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:282:20: note: (35) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:283:28: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:283:28: note: (37) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:167:23: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:284:33: note: in expansion of macro ‘ndebug’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:285:44: note: (39) ‘read’ on closed file descriptor ‘get_pipe_fd_from_env("_OCI_STARTPIPE")’; ‘close’ was at (9) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:290:33: warning: double ‘close’ of file descriptor ‘get_pipe_fd_from_env("_OCI_STARTPIPE")’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:51:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:55:9: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:65:12: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:69:28: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:70:20: note: (5) following ‘false’ branch (when ‘num_read >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:75:21: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:75:20: note: (7) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:76:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:76:25: note: (9) first ‘close’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:80:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:83:43: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:84:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:90:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:139:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:149:12: note: (16) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:150:26: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:181:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:13: note: (20) when ‘pipe2’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:193:12: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:196:28: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:216:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:16: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:217:13: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:228:22: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:229:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:20: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:231:19: note: (29) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:232:20: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:21: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:234:20: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:237:22: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:282:20: note: (35) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:283:28: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:283:28: note: (37) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:167:23: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:284:33: note: in expansion of macro ‘ndebug’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:286:36: note: (39) following ‘false’ branch (when ‘num_read >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:167:23: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:289:33: note: in expansion of macro ‘ndebug’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conmon.c:290:33: note: (41) second ‘close’ here; first ‘close’ was at (9) <--[gcc]
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/cmsg.o -c src/cmsg.c
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c: In function ‘recvfd’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:135:23: warning: leak of ‘malloc(4096)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:116:21: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:117:12: note: (2) assuming ‘malloc(4096)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:117:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:125:25: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:135:23: note: (5) if ‘recvmsg’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cmsg.c:135:23: note: (6) ‘malloc(4096)’ leaks here; was allocated at (1) <--[gcc]
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/ctr_logging.o -c src/ctr_logging.c
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.h:5, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:2: <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘expected_canonical’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:921:19: note: (3) if ‘g_malloc0’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (4) inlined call to ‘freep’ from ‘validate_fd_path_security’ <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (5) use of uninitialized value ‘expected_canonical’ here <--[gcc]
In function ‘freep’,
inlined from ‘setup_rotation_files’ at src/ctr_logging.c:1180:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘temp_basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘setup_rotation_files’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1180:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1180:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1182:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1182:41: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1182:41: note: (5) if ‘g_strdup_printf’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1180:30: note: (6) inlined call to ‘freep’ from ‘setup_rotation_files’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_rotation_files’ at src/ctr_logging.c:1180:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (7) use of uninitialized value ‘temp_basename’ here <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (1) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (3) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (4) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc]
from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc]
from /usr/include/glib-2.0/glib.h:56, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:10: <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (5) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (6) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (7) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (8) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (9) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (10) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (11) use of uninitialized value ‘path_copy’ here <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (5) following ‘false’ branch... <--[gcc]
In file included from /usr/include/features.h:540, <--[gcc]
from /usr/include/bits/libc-header-start.h:33, <--[gcc]
from /usr/include/stdio.h:28, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:5: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (7) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (10) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (13) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (14) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (15) use of uninitialized value ‘basename’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1057:17: note: (1) entry to ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1062:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (4) calling ‘secure_validate_log_path’ from ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (6) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (7) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (12) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (15) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (18) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (19) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (20) use of uninitialized value ‘basename’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (1) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (2) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (3) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (4) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (5) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (10) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (13) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (16) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (17) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (18) use of uninitialized value ‘basename’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (1) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (2) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (3) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (4) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (6) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (7) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (12) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (15) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (18) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (19) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (20) use of uninitialized value ‘basename’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (1) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (6) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (7) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (8) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (9) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (10) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (11) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (12) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (13) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (18) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (21) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (24) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (25) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (26) use of uninitialized value ‘basename’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:790:6: note: (1) entry to ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:792:9: note: (2) calling ‘reopen_k8s_file’ from ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (3) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (8) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (9) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (10) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (11) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (12) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (13) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (14) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (15) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (20) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (23) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (26) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (27) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (28) use of uninitialized value ‘basename’ here <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (1) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (6) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (9) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (16) following ‘false’ branch... <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:9: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (18) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (26) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (27) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (28) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (29) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (30) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (31) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (32) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (33) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (34) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (35) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (36) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (37) use of uninitialized value ‘path_copy’ here <--[gcc]
In function ‘freep’,
inlined from ‘shift_backup_files’ at src/ctr_logging.c:1079:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘shift_backup_files’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1057:17: note: (1) entry to ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1062:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (4) calling ‘secure_validate_log_path’ from ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (6) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (9) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (12) returning to ‘shift_backup_files’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1069:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1073:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1078:36: note: (15) following ‘true’ branch (when ‘i != 1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1079:45: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1080:43: note: (17) if ‘g_strdup_printf’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1079:38: note: (18) inlined call to ‘freep’ from ‘shift_backup_files’ <--[gcc]
In function ‘freep’,
inlined from ‘shift_backup_files’ at src/ctr_logging.c:1079:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (19) use of uninitialized value ‘<unknown>’ here <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1057:17: note: (1) entry to ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1062:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (4) calling ‘secure_validate_log_path’ from ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (10) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (13) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (30) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (31) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (32) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (33) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (34) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (35) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (36) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (37) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (38) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (39) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (40) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (41) use of uninitialized value ‘path_copy’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (1) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (2) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (3) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (8) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (11) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (28) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (29) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (30) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (31) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (32) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (33) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (34) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (35) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (36) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (37) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (38) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (39) use of uninitialized value ‘path_copy’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (1) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (2) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (3) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (4) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (10) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (13) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (30) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (31) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (32) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (33) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (34) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (35) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (36) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (37) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (38) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (39) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (40) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (41) use of uninitialized value ‘path_copy’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (1) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (6) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (7) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (8) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (9) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (10) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (11) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (16) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (19) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (28) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (30) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (36) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (37) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (38) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (39) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (40) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (41) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (42) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (43) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (44) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (45) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (46) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (47) use of uninitialized value ‘path_copy’ here <--[gcc]
In function ‘freep’,
inlined from ‘shift_backup_files’ at src/ctr_logging.c:1080:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘shift_backup_files’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1057:17: note: (1) entry to ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1062:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (4) calling ‘secure_validate_log_path’ from ‘shift_backup_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (6) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (9) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1068:29: note: (12) returning to ‘shift_backup_files’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1069:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1073:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1078:36: note: (15) following ‘true’ branch (when ‘i != 1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1079:45: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:140:12: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1084:25: note: in expansion of macro ‘nwarnf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:144:33: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1084:25: note: in expansion of macro ‘nwarnf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:144:33: note: (19) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1084:25: note: in expansion of macro ‘nwarnf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1080:38: note: (20) inlined call to ‘freep’ from ‘shift_backup_files’ <--[gcc]
In function ‘freep’,
inlined from ‘shift_backup_files’ at src/ctr_logging.c:1080:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (21) use of uninitialized value ‘<unknown>’ here <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:790:6: note: (1) entry to ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:792:9: note: (2) calling ‘reopen_k8s_file’ from ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (3) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (8) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (9) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (10) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (11) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (12) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (13) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (18) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (21) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (30) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (36) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (38) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (39) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (40) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (41) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (42) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (43) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (44) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (45) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (46) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (47) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (48) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (49) use of uninitialized value ‘path_copy’ here <--[gcc]
In function ‘freep’,
inlined from ‘is_path_in_allowlist’ at src/ctr_logging.c:884:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘is_path_in_allowlist’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:879:12: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:879:12: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:883:49: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:887:39: note: (4) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:179:3: note: (5) if ‘g_str_has_prefix’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:898:21: note: in expansion of macro ‘g_str_has_prefix’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:884:38: note: (6) inlined call to ‘freep’ from ‘is_path_in_allowlist’ <--[gcc]
In function ‘freep’,
inlined from ‘is_path_in_allowlist’ at src/ctr_logging.c:884:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (7) use of uninitialized value ‘<unknown>’ here <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘expected_canonical’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (1) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (2) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (3) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (4) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (5) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (10) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (13) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (22) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (30) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (31) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (32) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (33) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (34) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (35) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:825:28: note: (37) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:865:1: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:866:12: note: (39) following ‘false’ branch (when ‘current_fd == -100’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (40) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (42) returning to ‘secure_validate_log_path’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (43) returning to ‘validate_and_lock_rotation’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1149:12: note: (44) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (46) following ‘false’ branch (when ‘old_fd >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:13: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:12: note: (48) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (50) calling ‘validate_fd_path_security’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:911:17: note: (51) entry to ‘validate_fd_path_security’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (52) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (53) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:921:19: note: (54) if ‘g_malloc0’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (55) inlined call to ‘freep’ from ‘validate_fd_path_security’ <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (56) use of uninitialized value ‘expected_canonical’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘expected_canonical’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (1) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (6) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (7) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (8) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (9) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (10) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (11) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (16) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (19) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (28) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (30) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (36) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (37) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (38) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (39) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:811:12: note: (41) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:815:22: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:825:28: note: (43) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:865:1: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:866:12: note: (45) following ‘false’ branch (when ‘current_fd == -100’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (46) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (48) returning to ‘secure_validate_log_path’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (49) returning to ‘validate_and_lock_rotation’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1149:12: note: (50) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (52) following ‘false’ branch (when ‘old_fd >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:13: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:12: note: (54) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (56) calling ‘validate_fd_path_security’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:911:17: note: (57) entry to ‘validate_fd_path_security’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (58) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (59) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:921:19: note: (60) if ‘g_malloc0’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (61) inlined call to ‘freep’ from ‘validate_fd_path_security’ <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (62) use of uninitialized value ‘expected_canonical’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘expected_canonical’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:790:6: note: (1) entry to ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:792:9: note: (2) calling ‘reopen_k8s_file’ from ‘reopen_log_files’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (3) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (8) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (9) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (10) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (11) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (12) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (13) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (18) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (21) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (30) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (36) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (38) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (39) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (40) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (41) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:811:12: note: (43) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:815:22: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:825:28: note: (45) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:865:1: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:866:12: note: (47) following ‘false’ branch (when ‘current_fd == -100’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (48) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘validate_fd_path_security’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (50) returning to ‘secure_validate_log_path’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (51) returning to ‘validate_and_lock_rotation’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1149:12: note: (52) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1154:12: note: (54) following ‘false’ branch (when ‘old_fd >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:13: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1161:12: note: (56) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1168:14: note: (58) calling ‘validate_fd_path_security’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:911:17: note: (59) entry to ‘validate_fd_path_security’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (60) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (61) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:921:19: note: (62) if ‘g_malloc0’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:914:30: note: (63) inlined call to ‘freep’ from ‘validate_fd_path_security’ <--[gcc]
In function ‘freep’,
inlined from ‘validate_fd_path_security’ at src/ctr_logging.c:914:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (64) use of uninitialized value ‘expected_canonical’ here <--[gcc]
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/utils.o -c src/utils.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/cli.o -c src/cli.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/globals.o -c src/globals.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/cgroup.o -c src/cgroup.c
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘basename’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘secure_validate_log_path’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:487:12: note: (1) entry to ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:495:73: note: (2) following ‘false’ branch (when ‘pipe != 2’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:495:73: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:503:9: note: (4) calling ‘set_k8s_timestamp’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:729:13: note: (5) entry to ‘set_k8s_timestamp’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:776:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:779:1: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:503:9: note: (8) returning to ‘write_k8s_log’ from ‘set_k8s_timestamp’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:532:23: note: (9) following ‘true’ branch (when ‘buflen > 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:533:32: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:552:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (13) calling ‘writev_buffer_flush’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:626:16: note: (14) entry to ‘writev_buffer_flush’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:639:23: note: (15) following ‘false’ branch (when ‘iovcnt <= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:639:23: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (17) returning to ‘write_k8s_log’ from ‘writev_buffer_flush’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:28: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:556:25: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:556:25: note: (20) calling ‘reopen_k8s_file’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (21) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (24) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (26) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (27) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (28) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (29) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (30) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (31) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (32) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (33) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (36) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (38) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (39) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (41) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (44) if ‘g_path_get_dirname’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:967:30: note: (45) inlined call to ‘freep’ from ‘secure_validate_log_path’ <--[gcc]
In function ‘freep’,
inlined from ‘secure_validate_log_path’ at src/ctr_logging.c:967:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (46) use of uninitialized value ‘basename’ here <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘path_copy’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:487:12: note: (1) entry to ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:495:73: note: (2) following ‘false’ branch (when ‘pipe != 2’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:495:73: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:503:9: note: (4) calling ‘set_k8s_timestamp’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:729:13: note: (5) entry to ‘set_k8s_timestamp’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:776:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:779:1: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:503:9: note: (8) returning to ‘write_k8s_log’ from ‘set_k8s_timestamp’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:532:23: note: (9) following ‘true’ branch (when ‘buflen > 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:533:32: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:552:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (13) calling ‘writev_buffer_flush’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:626:16: note: (14) entry to ‘writev_buffer_flush’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:639:23: note: (15) following ‘false’ branch (when ‘iovcnt <= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:639:23: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:29: note: (17) returning to ‘write_k8s_log’ from ‘writev_buffer_flush’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:553:28: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:556:25: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:556:25: note: (20) calling ‘reopen_k8s_file’ from ‘write_k8s_log’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1233:13: note: (21) entry to ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1235:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1238:12: note: (24) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1240:17: note: (26) calling ‘rotate_k8s_file’ from ‘reopen_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1196:13: note: (27) entry to ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1202:22: note: (28) calling ‘validate_and_lock_rotation’ from ‘rotate_k8s_file’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1143:12: note: (29) entry to ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1148:22: note: (30) calling ‘secure_validate_log_path’ from ‘validate_and_lock_rotation’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:963:12: note: (31) entry to ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:972:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:13: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:976:12: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:13: note: (36) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:12: note: (37) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:36: note: (39) when ‘strstr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:980:33: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:984:22: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:986:12: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:990:21: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:991:12: note: (44) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:13: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:995:12: note: (46) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:20: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1004:19: note: (48) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:21: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1009:20: note: (50) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:32: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1015:20: note: (52) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1021:32: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1029:20: note: (54) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1033:21: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:1039:21: note: (56) calling ‘path_contains_symlinks_atomic’ from ‘secure_validate_log_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:796:17: note: (57) entry to ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (58) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (59) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:807:12: note: (60) following ‘false’ branch (when ‘canonical_path’ is non-NULL)... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (61) inlined call to ‘g_strdup_inline’ from ‘path_contains_symlinks_atomic’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:810:21: note: in expansion of macro ‘g_strdup’ <--[gcc]
In function ‘g_strdup_inline’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:810:14:
/usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (62) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:314:45: note: (63) following ‘false’ branch... <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (64) ...to here <--[gcc]
/usr/include/glib-2.0/glib/gstrfuncs.h:321:10: note: (65) if ‘g_strdup’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c: In function ‘path_contains_symlinks_atomic’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctr_logging.c:798:30: note: (66) inlined call to ‘freep’ from ‘path_contains_symlinks_atomic’ <--[gcc]
In function ‘freep’,
inlined from ‘path_contains_symlinks_atomic’ at src/ctr_logging.c:798:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (67) use of uninitialized value ‘path_copy’ here <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:5: <--[gcc]
In function ‘closep’,
inlined from ‘setup_oom_handling_cgroup_v1’ at src/cgroup.c:153:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
In file included from /usr/include/features.h:540, <--[gcc]
from /usr/include/bits/libc-header-start.h:33, <--[gcc]
from /usr/include/limits.h:26, <--[gcc]
from /usr/lib/gcc/x86_64-redhat-linux/16/include/limits.h:210, <--[gcc]
from /usr/lib/gcc/x86_64-redhat-linux/16/include/syslimits.h:9, <--[gcc]
from /usr/lib/gcc/x86_64-redhat-linux/16/include/limits.h:34, <--[gcc]
from /usr/lib64/glib-2.0/include/glibconfig.h:11, <--[gcc]
from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc]
from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc]
from /usr/include/glib-2.0/glib.h:32, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.h:4, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:3: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (29) if ‘g_build_filename’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:29: note: (30) inlined call to ‘closep’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
In function ‘closep’,
inlined from ‘setup_oom_handling_cgroup_v1’ at src/cgroup.c:153:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (31) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (29) if ‘g_build_filename’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:29: note: (30) inlined call to ‘closep’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
In function ‘closep’,
inlined from ‘setup_oom_handling_cgroup_v1’ at src/cgroup.c:153:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (33) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:163:12: note: (29) following ‘true’ branch... <--[gcc]
In file included from /usr/include/glib-2.0/glib/gtestutils.h:32, <--[gcc]
from /usr/include/glib-2.0/glib.h:89: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (31) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:163:12: note: (29) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (33) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:164:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:163:12: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:166:29: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:166:12: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (33) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of file descriptor ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:142:13: note: (1) entry to ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (2) calling ‘process_cgroup_subsystem_path’ from ‘setup_oom_handling_cgroup_v1’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:56:14: note: (3) entry to ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:60:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:65:30: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:69:50: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:70:48: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:71:23: note: (8) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:72:20: note: (9) following ‘false’ branch (when ‘ptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:76:20: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:77:24: note: (11) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:78:20: note: (12) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:82:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:84:20: note: (14) following ‘false’ branch (when ‘cgroup2 == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:89:30: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:92:49: note: (16) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:93:36: note: (17) following ‘true’ branch (when ‘subpath’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:99:56: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:59:32: note: (19) inlined call to ‘fclosep’ from ‘process_cgroup_subsystem_path’ <--[gcc]
In function ‘fclosep’,
inlined from ‘process_cgroup_subsystem_path’ at src/cgroup.c:59:25:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:223:12: note: (20) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:224:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c: In function ‘setup_oom_handling_cgroup_v1’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:145:51: note: (22) returning to ‘setup_oom_handling_cgroup_v1’ from ‘process_cgroup_subsystem_path’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:146:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:152:41: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:153:35: note: (25) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (26) assuming ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:154:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:160:60: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:163:12: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:166:29: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:166:12: note: (31) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (33) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (35) ‘open(g_build_filename(process_cgroup_subsystem_path(pid, 0, "memory"), "cgroup.event_control", 0), 524289)’ leaks here; was opened at (25) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/cgroup.c:167:17: note: in expansion of macro ‘pexit’ <--[gcc]
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/conn_sock.o -c src/conn_sock.c
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:6: <--[gcc]
In function ‘freep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:269:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: leak of file descriptor ‘socket_fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘bind_unix_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘false’ branch (when ‘use_full_attach_path == 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:322:27: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:343:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:347:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (8) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) socket created here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (12) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (13) following ‘false’ branch (when ‘socket_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:13: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:12: note: (15) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:83:25: note: (19) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:29: note: (20) inlined call to ‘closep’ from ‘bind_unix_socket’ <--[gcc]
In function ‘closep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:277:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (21) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (23) if ‘close’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘bind_unix_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:30: note: (24) inlined call to ‘freep’ from ‘bind_unix_socket’ <--[gcc]
In function ‘freep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:269:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (25) ‘socket_fd’ leaks here <--[gcc]
In function ‘closep’,
inlined from ‘setup_socket’ at src/conn_sock.c:166:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: warning: use of uninitialized value ‘sfd’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:162:14: note: (1) entry to ‘setup_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:166:29: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:166:29: note: (3) capacity: 4 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (4) following ‘false’ branch (when ‘path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:192:53: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:200:20: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:202:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:204:20: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:192:44: note: (9) inlined call to ‘freep’ from ‘setup_socket’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_socket’ at src/conn_sock.c:192:30:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:211:15: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:212:12: note: (12) following ‘true’ branch... <--[gcc]
In file included from /usr/include/glib-2.0/glib/gtestutils.h:32, <--[gcc]
from /usr/include/glib-2.0/glib.h:89, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.h:4, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:3: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:213:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:213:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:213:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:71:25: note: (16) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:213:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:166:29: note: (17) inlined call to ‘closep’ from ‘setup_socket’ <--[gcc]
In function ‘closep’,
inlined from ‘setup_socket’ at src/conn_sock.c:166:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (18) use of uninitialized value ‘sfd’ here <--[gcc]
In function ‘closep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:277:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: warning: leak of file descriptor ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘bind_unix_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (6) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (7) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (8) assuming ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (11) if ‘g_build_filename’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:29: note: (12) inlined call to ‘closep’ from ‘bind_unix_socket’ <--[gcc]
In function ‘closep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:277:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (15) ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ leaks here; was opened at (7) <--[gcc]
In function ‘closep’,
inlined from ‘setup_socket’ at src/conn_sock.c:166:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: warning: leak of ‘csname’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:162:14: note: (1) entry to ‘setup_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (2) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (5) assuming ‘csname’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:180:25: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:181:20: note: (8) following ‘false’ branch (when ‘dname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:184:23: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:185:20: note: (10) following ‘false’ branch... <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:10: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:188:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:189:20: note: (12) following ‘false’ branch (when ‘bname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:170:38: note: (13) inlined call to ‘freep’ from ‘setup_socket’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_socket’ at src/conn_sock.c:170:24:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:211:15: note: (15) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:212:12: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (18) calling ‘bind_relative_to_dir’ from ‘setup_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:90:13: note: (19) entry to ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:101:12: note: (20) following ‘false’ branch (when ‘dir_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:105:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:109:12: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:12: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:113:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (26) returning to ‘setup_socket’ from ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:215:13: note: (27) when ‘listen’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:215:12: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:166:29: note: (29) inlined call to ‘closep’ from ‘setup_socket’ <--[gcc]
In function ‘closep’,
inlined from ‘setup_socket’ at src/conn_sock.c:166:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (31) following ‘true’ branch (when ‘sfd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (33) if ‘close’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (34) ‘csname’ leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:174:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘true’ branch (when ‘csname’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (6) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:174:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch (when ‘csname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (11) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:174:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘true’ branch (when ‘csname’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (8) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:174:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch (when ‘csname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:36: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (13) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:177:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:175:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:180:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:181:20: note: (9) following ‘true’ branch (when ‘dname’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (11) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:175:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:180:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:181:20: note: (9) following ‘true’ branch (when ‘dname’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (13) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:182:25: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:175:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:180:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:181:20: note: (9) following ‘false’ branch (when ‘dname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:184:23: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:185:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (13) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: warning: leak of ‘strdup(path)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (1) following ‘true’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:173:26: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:175:29: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:20: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (6) assuming ‘strdup(path)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:176:57: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:180:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:181:20: note: (9) following ‘false’ branch (when ‘dname’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:184:23: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:185:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:68:17: note: (15) ‘strdup(path)’ leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:186:25: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:215:13: warning: leak of file descriptor ‘*fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:162:14: note: (1) entry to ‘setup_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:168:12: note: (2) following ‘false’ branch (when ‘path’ is NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:192:53: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:200:20: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:202:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:204:20: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:192:44: note: (7) inlined call to ‘freep’ from ‘setup_socket’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_socket’ at src/conn_sock.c:192:30:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘setup_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:211:15: note: (9) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:212:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (12) calling ‘bind_relative_to_dir’ from ‘setup_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:90:13: note: (13) entry to ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:101:12: note: (14) following ‘true’ branch (when ‘dir_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:102:17: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:102:17: note: (16) when ‘strncpy’ copies the full source string <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:109:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:113:1: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:214:9: note: (21) returning to ‘setup_socket’ from ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:215:13: note: (22) ‘*fd’ leaks here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘bind_unix_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: warning: use of possibly-NULL ‘socket_parent_dir(use_full_attach_path, 108)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) this call could return NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) argument 1 (‘socket_parent_dir(use_full_attach_path, 108)’) from (6) could be NULL where non-null expected <--[gcc]
In file included from /usr/include/glib-2.0/glib-unix.h:34, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:11: <--[gcc]
/usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of file descriptor ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (6) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (7) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (8) assuming ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘true’ branch (when ‘socket_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (14) ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of file descriptor ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (6) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (7) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (8) assuming ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘true’ branch (when ‘socket_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (16) ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: warning: leak of file descriptor ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (6) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (7) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (8) assuming ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘true’ branch (when ‘socket_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:83:25: note: (16) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:29: note: (17) inlined call to ‘closep’ from ‘bind_unix_socket’ <--[gcc]
In function ‘closep’,
inlined from ‘bind_unix_socket’ at src/conn_sock.c:277:22:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:216:12: note: (18) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:217:17: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘bind_unix_socket’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (20) ‘open(socket_parent_dir(use_full_attach_path, 108), 2621440)’ leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:279:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (11) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘true’ branch (when ‘socket_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (14) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘false’ branch (when ‘socket_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:12: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (16) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ fails <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘true’ branch (when ‘socket_fd == -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:294:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (16) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘false’ branch (when ‘socket_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:12: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:80:17: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (16) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:297:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (18) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:319:12: note: (4) following ‘true’ branch (when ‘use_full_attach_path != 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘false’ branch (when ‘socket_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:299:9: note: (14) calling ‘bind_relative_to_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:90:13: note: (15) entry to ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:101:12: note: (16) following ‘false’ branch (when ‘dir_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:105:17: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:109:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:113:1: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:299:9: note: (22) returning to ‘bind_unix_socket’ from ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:301:12: note: (23) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:302:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (25) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: warning: leak of ‘socket_parent_dir(use_full_attach_path, 108)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:263:14: note: (1) entry to ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (2) calling ‘socket_parent_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:316:7: note: (3) entry to ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c <--[gcc]
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/oom.o -c src/oom.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/ctrl.o -c src/ctrl.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/ctr_stdio.o -c src/ctr_stdio.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/parent_pipe_fd.o -c src/parent_pipe_fd.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/ctr_exit.o -c src/ctr_exit.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/runtime_args.o -c src/runtime_args.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/close_fds.o -c src/close_fds.c
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 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o src/seccomp_notify.o -c src/seccomp_notify.c
mkdir -p bin
gcc -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DVERSION=\"2.2.0\" -DGIT_COMMIT=\"\" -D USE_JOURNALD=1 -D USE_SECCOMP=1 -g -o bin/conmon src/conmon.o src/cmsg.o src/ctr_logging.o src/utils.o src/cli.o src/globals.o src/cgroup.o src/conn_sock.o src/oom.o src/ctrl.o src/ctr_stdio.o src/parent_pipe_fd.o src/ctr_exit.o src/runtime_args.o src/close_fds.o src/seccomp_notify.o -lglib-2.0 -lsystemd -lseccomp -ldl
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:269:43: note: (7) returning to ‘bind_unix_socket’ from ‘socket_parent_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:277:45: note: (8) assuming ‘socket_parent_dir(use_full_attach_path, 108)’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:278:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:285:31: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:292:21: note: (11) when ‘socket’ succeeds <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:293:12: note: (12) following ‘false’ branch (when ‘socket_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:296:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:299:9: note: (14) calling ‘bind_relative_to_dir’ from ‘bind_unix_socket’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:90:13: note: (15) entry to ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:101:12: note: (16) following ‘false’ branch (when ‘dir_fd != -1’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:105:17: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:109:12: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:13: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:111:12: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:113:1: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:299:9: note: (22) returning to ‘bind_unix_socket’ from ‘bind_relative_to_dir’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:301:12: note: (23) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:78:35: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:302:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:81:20: note: (25) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:302:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:82:31: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:302:17: note: in expansion of macro ‘pexitf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:320:24: note: (27) ‘socket_parent_dir(use_full_attach_path, 108)’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘attach_cb’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:393:17: warning: leak of ‘remote_sock’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:374:17: note: (1) entry to ‘attach_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:378:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:384:28: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:387:31: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:388:20: note: (5) assuming ‘remote_sock’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:388:20: note: (6) following ‘false’ branch (when ‘remote_sock’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:391:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:391:17: note: (8) calling ‘init_remote_sock’ from ‘attach_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:602:13: note: (9) entry to ‘init_remote_sock’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:608:12: note: (10) following ‘true’ branch (when ‘src’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:609:37: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:391:17: note: (12) returning to ‘attach_cb’ from ‘init_remote_sock’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:393:17: note: (13) if ‘g_unix_fd_add’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:393:17: note: (14) ‘remote_sock’ leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c: In function ‘init_remote_sock’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:612:17: warning: leak of ‘remote_sock’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:374:17: note: (1) entry to ‘attach_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:378:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:384:28: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:387:31: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:388:20: note: (5) assuming ‘remote_sock’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:388:20: note: (6) following ‘false’ branch (when ‘remote_sock’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:391:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:391:17: note: (8) calling ‘init_remote_sock’ from ‘attach_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:602:13: note: (9) entry to ‘init_remote_sock’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:608:12: note: (10) following ‘true’ branch (when ‘src’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:609:37: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:612:17: note: (12) if ‘g_unix_set_fd_nonblocking’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/conn_sock.c:612:17: note: (13) ‘remote_sock’ leaks here; was allocated at (4) <--[gcc]
In file included from /usr/include/glib-2.0/glib/gutils.h:426, <--[gcc]
from /usr/include/glib-2.0/glib/gthread.h:36, <--[gcc]
from /usr/include/glib-2.0/glib/gasyncqueue.h:34, <--[gcc]
from /usr/include/glib-2.0/glib.h:34, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:10, <--[gcc]
from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:4: <--[gcc]
In function ‘atoi’,
inlined from ‘write_oom_adjust’ at src/oom.c:25:16:
/usr/include/stdlib.h:487:10: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c: In function ‘write_oom_adjust’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:38:6: note: (1) entry to ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:40:9: note: (2) calling ‘write_oom_adjust’ from ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:12:13: note: (3) entry to ‘write_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (4) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (5) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (8) following ‘true’ branch (when ‘old_value’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:22:21: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:13: note: (10) if ‘write’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:25:30: note: (11) inlined call to ‘atoi’ from ‘write_oom_adjust’ <--[gcc]
In function ‘atoi’,
inlined from ‘write_oom_adjust’ at src/oom.c:25:16:
/usr/include/stdlib.h:487:10: note: (12) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (4) <--[gcc]
/usr/include/stdlib.h:487:10: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c: In function ‘write_oom_adjust’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:38:6: note: (1) entry to ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:40:9: note: (2) calling ‘write_oom_adjust’ from ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:12:13: note: (3) entry to ‘write_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (4) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (5) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (8) following ‘true’ branch (when ‘old_value’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:22:21: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:25:30: note: (10) inlined call to ‘atoi’ from ‘write_oom_adjust’ <--[gcc]
In function ‘atoi’,
inlined from ‘write_oom_adjust’ at src/oom.c:25:16:
/usr/include/stdlib.h:487:10: note: (11) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (4) <--[gcc]
/usr/include/stdlib.h:487:10: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c: In function ‘write_oom_adjust’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:38:6: note: (1) entry to ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:40:9: note: (2) calling ‘write_oom_adjust’ from ‘attempt_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:12:13: note: (3) entry to ‘write_oom_adjust’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (4) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (5) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (8) following ‘true’ branch (when ‘old_value’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:22:21: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:12: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:12: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (14) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:25:30: note: (15) inlined call to ‘atoi’ from ‘write_oom_adjust’ <--[gcc]
In function ‘atoi’,
inlined from ‘write_oom_adjust’ at src/oom.c:25:16:
/usr/include/stdlib.h:487:10: note: (16) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (4) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c: In function ‘write_oom_adjust’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (1) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (2) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (5) following ‘true’ branch (when ‘old_value’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:22:21: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:22:20: note: (7) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:12: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (11) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: note: (12) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:23:25: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:13: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (1) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (2) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:13: note: (5) if ‘write’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:13: note: (6) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (1) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (2) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:28:12: note: (5) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:12: note: (7) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (9) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:23: note: (10) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:29:17: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:31:9: warning: leak of file descriptor ‘open("/proc/self/oom_score_adj", 524290)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:16:28: note: (1) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (2) assuming ‘open("/proc/self/oom_score_adj", 524290)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:17:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:21:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/oom.c:31:9: note: (5) ‘open("/proc/self/oom_score_adj", 524290)’ leaks here; was opened at (1) <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:4: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c: In function ‘setup_terminal_control_fifo’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: warning: leak of file descriptor ‘dummyfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:268:9: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:260:5: note: (1) entry to ‘setup_terminal_control_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:267:9: note: (2) calling ‘setup_fifo’ from ‘setup_terminal_control_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:274:13: note: (3) entry to ‘setup_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:278:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:281:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:289:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:24: note: (8) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:12: note: (9) assuming ‘dummyfd’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:276:30: note: (11) inlined call to ‘freep’ from ‘setup_fifo’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_fifo’ at src/ctrl.c:276:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c: In function ‘setup_terminal_control_fifo’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:267:9: note: (13) returning to ‘setup_terminal_control_fifo’ from ‘setup_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:176:12: note: (14) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:268:9: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:268:9: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (16) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:268:9: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:180:33: note: (17) ‘dummyfd’ leaks here; was opened at (8) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:268:9: note: in expansion of macro ‘ndebugf’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:269:9: warning: leak of file descriptor ‘dummyfd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:260:5: note: (1) entry to ‘setup_terminal_control_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:267:9: note: (2) calling ‘setup_fifo’ from ‘setup_terminal_control_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:274:13: note: (3) entry to ‘setup_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:278:12: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:281:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:289:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:24: note: (8) opened here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:12: note: (9) assuming ‘dummyfd’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:292:12: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:276:30: note: (11) inlined call to ‘freep’ from ‘setup_fifo’ <--[gcc]
In function ‘freep’,
inlined from ‘setup_fifo’ at src/ctrl.c:276:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c: In function ‘setup_terminal_control_fifo’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:267:9: note: (13) returning to ‘setup_terminal_control_fifo’ from ‘setup_fifo’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:269:9: note: (14) if ‘g_unix_fd_add’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/ctrl.c:269:9: note: (15) ‘dummyfd’ leaks here; was opened at (8) <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:2: <--[gcc]
In function ‘freep’,
inlined from ‘write_or_close_sync_fd’ at src/parent_pipe_fd.c:45:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘json’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c: In function ‘write_or_close_sync_fd’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:45:30: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:45:30: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:42:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:46:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:55:24: note: (5) if ‘g_strdup_printf’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/parent_pipe_fd.c:45:30: note: (6) inlined call to ‘freep’ from ‘write_or_close_sync_fd’ <--[gcc]
In function ‘freep’,
inlined from ‘write_or_close_sync_fd’ at src/parent_pipe_fd.c:45:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (7) use of uninitialized value ‘json’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c: In function ‘add_argv’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:121:17: warning: missing call to ‘va_end’ [-Wanalyzer-va-list-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:119:9: note: (1) ‘va_start’ called here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:120:16: note: (2) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:121:17: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:121:17: note: (4) if ‘g_ptr_array_add’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/runtime_args.c:121:17: note: (5) missing call to ‘va_end’ to match ‘va_start’ at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c: In function ‘init’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:44:20: warning: leak of ‘opendir("/proc/self/fd")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:40:13: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:41:12: note: (2) assuming ‘opendir("/proc/self/fd")’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:41:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:44:20: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:44:20: note: (5) if ‘readdir’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:44:20: note: (6) ‘opendir("/proc/self/fd")’ leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c: In function ‘close_all_fds_ge_than’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:98:20: warning: leak of ‘opendir("/proc/self/fd")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:94:13: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:95:12: note: (2) assuming ‘opendir("/proc/self/fd")’ is non-NULL <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:95:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:98:20: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:98:20: note: (5) if ‘readdir’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/close_fds.c:98:20: note: (6) ‘opendir("/proc/self/fd")’ leaks here; was allocated at (1) <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:16: <--[gcc]
In function ‘freep’,
inlined from ‘seccomp_notify_plugins_load’ at src/seccomp_notify.c:112:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘b’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c: In function ‘seccomp_notify_plugins_load’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:109:5: note: (1) entry to ‘seccomp_notify_plugins_load’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (2) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (3) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:111:79: note: (4) calling ‘xmalloc0’ from ‘seccomp_notify_plugins_load’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:291:21: note: (5) entry to ‘xmalloc0’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:294:12: note: (6) following ‘false’ branch (when ‘res’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:296:16: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:111:79: note: (8) returning to ‘seccomp_notify_plugins_load’ from ‘xmalloc0’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:116:12: note: (9) following ‘true’ branch... <--[gcc]
In file included from /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:8: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:71:25: note: (13) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (14) inlined call to ‘freep’ from ‘seccomp_notify_plugins_load’ <--[gcc]
In function ‘freep’,
inlined from ‘seccomp_notify_plugins_load’ at src/seccomp_notify.c:112:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (15) use of uninitialized value ‘b’ here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: warning: use of uninitialized value ‘b’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c: In function ‘seccomp_notify_plugins_load’: <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:67:10: note: (1) entry to ‘seccomp_accept_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:71:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:76:34: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:79:12: note: (4) following ‘false’ branch (when ‘<unknown> >= 0’)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:82:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:85:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:90:38: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:96:19: note: (8) calling ‘seccomp_notify_plugins_load’ from ‘seccomp_accept_cb’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:109:5: note: (9) entry to ‘seccomp_notify_plugins_load’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (10) region created on stack here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (11) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:111:79: note: (12) calling ‘xmalloc0’ from ‘seccomp_notify_plugins_load’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:291:21: note: (13) entry to ‘xmalloc0’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:294:12: note: (14) following ‘false’ branch (when ‘res’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:296:16: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:111:79: note: (16) returning to ‘seccomp_notify_plugins_load’ from ‘xmalloc0’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:116:12: note: (17) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:66:35: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:69:20: note: (19) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:70:31: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:71:25: note: (21) if ‘syslog’ throws an exception... <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:117:17: note: in expansion of macro ‘pexit’ <--[gcc]
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/seccomp_notify.c:112:30: note: (22) inlined call to ‘freep’ from ‘seccomp_notify_plugins_load’ <--[gcc]
In function ‘freep’,
inlined from ‘seccomp_notify_plugins_load’ at src/seccomp_notify.c:112:23:
/builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/src/utils.h:211:9: note: (23) use of uninitialized value ‘b’ here <--[gcc]
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2026-02-02 10:20:32 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"
>>> 2026-02-02 10:20:33 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck: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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/conmon.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.6 starting (python version = 3.9.25, NVR = mock-6.6-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck: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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/conmon.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.6
INFO: Mock Version: 6.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/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1769990400
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JV6POR
+ umask 022
+ cd /builddir/build/BUILD/conmon-2.1.13-build
+ '[' /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT
++ dirname /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/conmon-2.1.13-build
+ mkdir /builddir/build/BUILD/conmon-2.1.13-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-hardened-ld-errors -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 conmon-2.1.13
+ /usr/bin/make PREFIX=/builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr install.bin
install -d -m 755 /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/bin
install -m 755 bin/conmon /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/bin/conmon
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44 --unique-debug-suffix -2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64 --unique-debug-src-base conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13
find-debuginfo: starting
Extracting debug info from 1 files
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ COMPRESS='gzip -9 -n'
+ COMPRESS_EXT=.gz
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-det --brp -j8 /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT
Scanned 11 directories and 34 files,
processed 0 inodes,
0 modified (0 replaced + 0 rewritten),
0 unsupported format, 0 errors
+ /usr/bin/linkdupes --brp /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr
Scanned 10 directories and 34 files,
considered 34 files, read 0 files, linked 0 files, 0 errors
sum of sizes of linked files: 0 bytes
Reading /builddir/build/BUILD/conmon-2.1.13-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bSXN0e
+ umask 022
+ cd /builddir/build/BUILD/conmon-2.1.13-build
+ cd conmon-2.1.13
+ DOCDIR=/builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/doc/conmon
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/doc/conmon
+ cp -pr /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/README.md /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/doc/conmon
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fJDZI8
+ umask 022
+ cd /builddir/build/BUILD/conmon-2.1.13-build
+ cd conmon-2.1.13
+ LICENSEDIR=/builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/licenses/conmon
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/licenses/conmon
+ cp -pr /builddir/build/BUILD/conmon-2.1.13-build/conmon-2.1.13/LICENSE /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT/usr/share/licenses/conmon
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: conmon = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44 conmon(x86-64) = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH)
Processing files: conmon-debugsource-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64
Provides: conmon-debugsource = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44 conmon-debugsource(x86-64) = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: conmon-debuginfo-2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44.x86_64
Provides: conmon-debuginfo = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44 conmon-debuginfo(x86-64) = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44 debuginfo(build-id) = 368d9fca5748c09e94d6275b321bc708cf783246
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: conmon-debugsource(x86-64) = 2:2.1.13-1.20260202095438222298.pr628.126.gef95cee.fc44
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/conmon-2.1.13-build/BUILDROOT
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck: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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/conmon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2026-02-02 10:20:35 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*"
Looking for shell scripts... done
>>> 2026-02-02 10:20:36 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log"
>>> 2026-02-02 10:20:38 '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
>>> 2026-02-02 10:20:39 cat '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/uni-results/cswrap-capture.js'
>>> 2026-02-02 10:20:39 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/uni-results/clippy-capture.err
>>> 2026-02-02 10:20:39 cd /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/uni-results/shellcheck-capture.json
>>> 2026-02-02 10:20:39 csgrep --mode=json '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/uni-results/unicontrol-capture.js'
scan.ini: time-finished = 2026-02-02 10:20:39
scan.ini: exit-code = 0
>>> 2026-02-02 10:20:39 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan.ini' '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/uni-results'/* > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/scan-results-all.js'
>>> 2026-02-02 10:20:39 '/usr/bin/mock' '-r' 'fedora-rawhide-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/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/scan-results-all.js' >'/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/scan-results-all.js.tmp'
>>> 2026-02-02 10:20:40 "/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
>>> 2026-02-02 10:20:43 cat '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | sed -r 's|(/builddir/build/BUILD/)[^/]+-build/|\1|' | 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' | csdiff --json-output --show-internal "/usr/share/csmock/known-false-positives.js" - | cssort --key=path > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.js'
>>> 2026-02-02 10:20:43 cat '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.js' - | cssort > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.js'
>>> 2026-02-02 10:20:43 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.js' > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.err'
>>> 2026-02-02 10:20:43 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.js' | cshtml - > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.html'
>>> 2026-02-02 10:20:43 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results.js' | tee '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/debug/suppressed-results-summary.txt'
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-double-close]
20 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close]
9 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument]
12 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-va-list-leak]
>>> 2026-02-02 10:20:43 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.js' > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.err'
>>> 2026-02-02 10:20:43 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.js' | cshtml - > '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.html'
>>> 2026-02-02 10:20:43 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results.js' | tee '/tmp/csmocky934_ndl/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee/scan-results-summary.txt'
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-double-close]
20 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close]
9 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument]
12 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-va-list-leak]
<<< 2026-02-02 10:20:43 csmock exit code: 0
Wrote: /tmp/tmpimapgm_a/conmon-2.1.13-1.20260202095438222298.pr628.126.gef95cee.tar.xz