Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,cobol,algol68,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugzilla.redhat.com/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-16.0.1-build/gcc-16.0.1-20260305/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-tls=gnu2 --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.1 20260305 (Red Hat 16.0.1-0) (GCC) 
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,cobol,algol68,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugzilla.redhat.com/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-16.0.1-build/gcc-16.0.1-20260305/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-tls=gnu2 --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.1 20260305 (Red Hat 16.0.1-0) (GCC) 
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,cobol,algol68,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugzilla.redhat.com/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-16.0.1-build/gcc-16.0.1-20260305/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-tls=gnu2 --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.1 20260305 (Red Hat 16.0.1-0) (GCC) 
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,cobol,algol68,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugzilla.redhat.com/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-16.0.1-build/gcc-16.0.1-20260305/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-tls=gnu2 --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.1 20260305 (Red Hat 16.0.1-0) (GCC) 
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,cobol,algol68,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugzilla.redhat.com/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-16.0.1-build/gcc-16.0.1-20260305/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-tls=gnu2 --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.1 20260305 (Red Hat 16.0.1-0) (GCC) 
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:151: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:86: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:89: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:349: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:355: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:361: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:367: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:374: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c: In function 'free_image_spec_schema_defs_map_string_object': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:126:5: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:164:1: note: (1) entry to 'clone_image_spec_schema_defs_map_string_object' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:170:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:172:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:172:8: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:175:34: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:175:23: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:176:23: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:178:98: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:178:29: note: (9) assuming 'calloc(*src.len + 1, 8)' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:179:17: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:167:109: note: (11) inlined call to 'free_image_spec_schema_defs_map_string_object_function' from 'clone_image_spec_schema_defs_map_string_object' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:8: <--[gcc]
In function 'free_image_spec_schema_defs_map_string_object_function',
    inlined from 'clone_image_spec_schema_defs_map_string_object' at src/ocispec/image_spec_schema_defs.c:167:109:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:65:70: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:65:70: note: (13) calling 'free_image_spec_schema_defs_map_string_object' from 'clone_image_spec_schema_defs_map_string_object' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c: In function 'free_image_spec_schema_defs_map_string_object': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:107:1: note: (14) entry to 'free_image_spec_schema_defs_map_string_object' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:109:8: note: (15) following 'false' branch (when 'ptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:111:12: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:111:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:126:5: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:126:5: note: (19) '<unknown>' leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c: In function 'clone_image_spec_schema_defs_map_string_object': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:178:29: warning: dereference of possibly-NULL 'calloc(*src.len + 1, 8)' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:170:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:172:12: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:172:8: note: (3) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:175:34: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:175:23: note: (5) this call could return NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:176:23: note: (6) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:178:98: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:178:29: note: (8) 'calloc(*src.len + 1, 8) + i * 8' could be NULL: unchecked value from (5) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:369: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:377: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:384: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c: In function 'make_image_spec_schema_image_layout_schema': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:200:1: note: (1) entry to 'image_spec_schema_image_layout_schema_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:207:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:210:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:215:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:221:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:221:11: note: (6) calling 'make_image_spec_schema_image_layout_schema' from 'image_spec_schema_image_layout_schema_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:14:1: note: (7) entry to 'make_image_spec_schema_image_layout_schema' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:19:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:22:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:26:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:27:12: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:31:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:36:12: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:36:8: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:42:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:42:8: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:46:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:49:12: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:51:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:52:16: note: (22) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:55:24: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:56:35: note: (24) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:57:16: note: (25) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:57:16: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:62:37: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:63:16: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:70:9: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:70:23: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:85:27: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:88:12: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:88:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: note: (34) '<unknown>' leaks here; was allocated at (24) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:200:1: note: (1) entry to 'image_spec_schema_image_layout_schema_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:207:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:210:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:215:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:221:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:221:11: note: (6) calling 'make_image_spec_schema_image_layout_schema' from 'image_spec_schema_image_layout_schema_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:14:1: note: (7) entry to 'make_image_spec_schema_image_layout_schema' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:19:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:22:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:26:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:27:12: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:31:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:36:12: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:36:8: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:42:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:42:8: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:46:16: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:49:12: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:51:20: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:51:20: note: (22) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:52:16: note: (23) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:52:16: note: (24) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:55:24: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:57:16: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:62:37: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:63:16: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:70:9: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:70:23: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:85:27: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:88:12: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:88:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:21:11: note: (34) 'resi' leaks here; was allocated at (22) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:304: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:310: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:316: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:323: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:602: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:610: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:617: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:953: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:959: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:965: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:972: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c: In function 'make_image_spec_schema_content_descriptor': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:457:1: note: (1) entry to 'image_spec_schema_content_descriptor_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:464:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:467:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:472:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:478:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:478:11: note: (6) calling 'make_image_spec_schema_content_descriptor' from 'image_spec_schema_content_descriptor_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:14:1: note: (7) entry to 'make_image_spec_schema_content_descriptor' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:19:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:22:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:26:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:27:12: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:31:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:38:24: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:39:12: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:60:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:61:12: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:65:16: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:72:24: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:99:12: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:110:24: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:111:12: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:122:24: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:123:12: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:138:12: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:138:8: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:144:12: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:144:8: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:150:13: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:150:8: note: (32) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:154:16: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:157:12: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:159:20: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:160:16: note: (36) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:163:24: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:164:35: note: (38) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:165:16: note: (39) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:165:16: note: (40) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:170:37: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:171:16: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:178:9: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:178:23: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:199:27: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:202:12: note: (46) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:202:12: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: note: (48) '<unknown>' leaks here; was allocated at (38) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:457:1: note: (1) entry to 'image_spec_schema_content_descriptor_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:464:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:467:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:472:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:478:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:478:11: note: (6) calling 'make_image_spec_schema_content_descriptor' from 'image_spec_schema_content_descriptor_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:14:1: note: (7) entry to 'make_image_spec_schema_content_descriptor' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:19:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:22:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:26:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:27:12: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:31:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:38:24: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:39:12: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:60:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:61:12: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:65:16: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:72:24: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:99:12: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:110:24: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:111:12: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:122:24: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:123:12: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:138:12: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:138:8: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:144:12: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:144:8: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:150:13: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:150:8: note: (32) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:154:16: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:157:12: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:159:20: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:159:20: note: (36) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:160:16: note: (37) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:160:16: note: (38) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:163:24: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:165:16: note: (40) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:170:37: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:171:16: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:178:9: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:178:23: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:199:27: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:202:12: note: (46) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:202:12: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:21:11: note: (48) 'resi' leaks here; was allocated at (36) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_zos.c:181: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:489: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:495: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:499: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:502: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:815: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1020: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1026: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1032: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1038: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1495: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1501: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1507: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1513: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1519: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1525: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:1532: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:447: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:1071: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:1077: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:1083: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:1090: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_freebsd.c:1367: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:145: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:310: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:316: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:553: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:559: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:565: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:571: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:577: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:583: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:589: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:879: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:885: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:891: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:897: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:903: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:910: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:217: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:224: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:470: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:477: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:669: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:675: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1076: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1087: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1139: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1142: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1145: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1148: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1153: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1166: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1173: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1179: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1309: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1315: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1321: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:1327: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:568: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:803: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:806: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:809: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:821: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:828: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:834: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:949: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:955: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:961: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1291: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1521: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1903: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:318: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:325: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:956: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:962: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:969: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_freebsd.c:180: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:178: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:184: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c: In function 'make_runtime_spec_schema_defs_zos_namespace_reference': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:19:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:22:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:26:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:27:12: note: (5) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:31:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:38:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:39:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:48:12: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:48:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:54:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:54:8: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:58:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:61:12: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:63:20: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:64:16: note: (17) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:67:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:68:35: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:69:16: note: (20) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:69:16: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:74:37: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:75:16: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:82:9: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:82:23: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:98:27: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:101:12: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:101:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: note: (29) '<unknown>' leaks here; was allocated at (19) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:19:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:22:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:26:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:27:12: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:31:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:38:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:39:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:48:12: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:48:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:54:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:54:8: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:58:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:61:12: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:63:20: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:63:20: note: (17) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:64:16: note: (18) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:64:16: note: (19) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:67:24: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:69:16: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:74:37: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:75:16: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:82:9: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:82:23: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:98:27: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:101:12: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:101:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:21:11: note: (29) 'resi' leaks here; was allocated at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:491: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:738: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1234: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1686: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1938: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2325: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2336: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2510: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2675: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2681: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3308: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3864: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3870: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3874: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3879: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3885: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3892: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:33: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:36: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:766: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1234: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1240: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1375: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2017: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2049: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2052: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2512: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2518: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3016: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3025: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3365: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3372: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3626: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3632: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3639: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3667: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3670: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3682: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3689: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3695: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3795: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3801: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:4527: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:184: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:190: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c: In function 'make_runtime_spec_schema_defs_windows_device': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:19:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:22:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:26:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:27:12: note: (5) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:31:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:38:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:39:12: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:41:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:43:16: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:48:12: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:48:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:54:12: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:54:8: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:60:13: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:60:8: note: (17) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:64:16: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:67:12: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:69:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:70:16: note: (21) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:73:24: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:74:35: note: (23) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:75:16: note: (24) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:75:16: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:80:37: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:81:16: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:88:9: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:107:12: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:107:12: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: note: (31) '<unknown>' leaks here; was allocated at (23) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:19:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:22:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:26:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:27:12: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:31:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:38:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:39:12: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:41:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:43:16: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:48:12: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:48:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:54:12: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:54:8: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:60:13: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:60:8: note: (17) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:64:16: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:67:12: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:69:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:69:20: note: (21) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:70:16: note: (22) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:70:16: note: (23) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:73:24: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:75:16: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:80:37: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:81:16: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:88:9: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:107:12: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:107:12: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:21:11: note: (31) 'resi' leaks here; was allocated at (21) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:315: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:321: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:327: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:335: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:339: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:256: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:263: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:319: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:212: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:430: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:436: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:443: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: In function 'free_runtime_spec_schema_config_linux_net_devices': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:73:5: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3808:1: note: (1) entry to 'make_runtime_spec_schema_config_linux' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3813:8: note: (2) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3815:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3816:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3820:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3840:24: note: (6) calling 'make_runtime_spec_schema_config_linux_net_devices' from 'make_runtime_spec_schema_config_linux' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:14:1: note: (7) entry to 'make_runtime_spec_schema_config_linux_net_devices' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:19:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:21:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:22:8: note: (10) following 'false' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:154:49: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:24:9: note: in expansion of macro 'YAJL_GET_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:154:42: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:24:9: note: in expansion of macro 'YAJL_GET_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:27:16: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:31:21: note: (14) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:32:12: note: (15) assuming 'calloc(len + 1, 8)' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:32:12: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:34:23: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:35:12: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:16:117: note: (19) inlined call to 'free_runtime_spec_schema_config_linux_net_devices_function' from 'make_runtime_spec_schema_config_linux_net_devices' <--[gcc]
In function 'free_runtime_spec_schema_config_linux_net_devices_function',
    inlined from 'make_runtime_spec_schema_config_linux_net_devices' at src/ocispec/runtime_spec_schema_config_linux.c:16:117:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:12:74: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:12:74: note: (21) calling 'free_runtime_spec_schema_config_linux_net_devices' from 'make_runtime_spec_schema_config_linux_net_devices' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: In function 'free_runtime_spec_schema_config_linux_net_devices': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:54:1: note: (22) entry to 'free_runtime_spec_schema_config_linux_net_devices' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:56:8: note: (23) following 'false' branch (when 'ptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:58:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:58:8: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:58:33: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:58:27: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:73:5: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:73:5: note: (29) '<unknown>' leaks here; was allocated at (14) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: In function 'free_runtime_spec_schema_config_linux_resources_rdma': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2089:5: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3808:1: note: (1) entry to 'make_runtime_spec_schema_config_linux' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3813:8: note: (2) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3815:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3816:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3820:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3841:8: note: (6) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3841:37: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3841:34: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3845:24: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3909:22: note: (10) calling 'make_runtime_spec_schema_config_linux_resources' from 'make_runtime_spec_schema_config_linux' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2151:1: note: (11) entry to 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2156:8: note: (12) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2158:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2159:8: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2163:24: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2164:12: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2181:24: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2201:17: note: (18) calling 'make_runtime_spec_schema_config_linux_resources_pids' from 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:135:1: note: (19) entry to 'make_runtime_spec_schema_config_linux_resources_pids' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:140:8: note: (20) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:142:11: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:143:8: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:147:24: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:167:8: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:171:16: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:174:12: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:176:20: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:177:16: note: (28) following 'true' branch (when 'resi' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:137:123: note: (29) inlined call to 'free_runtime_spec_schema_config_linux_resources_pids_function' from 'make_runtime_spec_schema_config_linux_resources_pids' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:133:77: note: (30) inlined call to 'free_runtime_spec_schema_config_linux_resources_pids' from 'free_runtime_spec_schema_config_linux_resources_pids_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_runtime_spec_schema_config_linux_resources_pids',
    inlined from 'free_runtime_spec_schema_config_linux_resources_pids_function' at src/ocispec/runtime_spec_schema_config_linux.c:133:1,
    inlined from 'make_runtime_spec_schema_config_linux_resources_pids' at src/ocispec/runtime_spec_schema_config_linux.c:137:123:
cc1: note: (31) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: In function 'free_runtime_spec_schema_config_linux_resources_rdma': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2201:17: note: (32) returning to 'make_runtime_spec_schema_config_linux_resources' from 'make_runtime_spec_schema_config_linux_resources_pids' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2202:8: note: (33) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2202:30: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2202:27: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2204:21: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2205:8: note: (37) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2205:34: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2205:31: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2207:16: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2207:16: note: (41) calling 'make_runtime_spec_schema_config_linux_resources_cpu' from 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:831:1: note: (42) entry to 'make_runtime_spec_schema_config_linux_resources_cpu' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:836:8: note: (43) following 'true' branch (when 'tree' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:836:8: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2207:16: note: (45) returning to 'make_runtime_spec_schema_config_linux_resources' from 'make_runtime_spec_schema_config_linux_resources_cpu' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2208:8: note: (46) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2208:29: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2208:26: note: (48) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2212:24: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2232:19: note: (50) calling 'make_runtime_spec_schema_config_linux_resources_memory' from 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1384:1: note: (51) entry to 'make_runtime_spec_schema_config_linux_resources_memory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1389:8: note: (52) following 'true' branch (when 'tree' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1389:8: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2232:19: note: (54) returning to 'make_runtime_spec_schema_config_linux_resources' from 'make_runtime_spec_schema_config_linux_resources_memory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2233:8: note: (55) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2233:32: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2233:29: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2235:20: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2235:20: note: (59) calling 'make_runtime_spec_schema_config_linux_resources_network' from 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1813:1: note: (60) entry to 'make_runtime_spec_schema_config_linux_resources_network' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1818:8: note: (61) following 'true' branch (when 'tree' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1818:8: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2235:20: note: (63) returning to 'make_runtime_spec_schema_config_linux_resources' from 'make_runtime_spec_schema_config_linux_resources_network' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2236:8: note: (64) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2236:33: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2236:30: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2238:17: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2238:17: note: (68) calling 'make_runtime_spec_schema_config_linux_resources_rdma' from 'make_runtime_spec_schema_config_linux_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2030:1: note: (69) entry to 'make_runtime_spec_schema_config_linux_resources_rdma' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2035:8: note: (70) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2037:11: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2038:8: note: (72) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:154:49: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2040:9: note: in expansion of macro 'YAJL_GET_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:154:42: note: (74) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2040:9: note: in expansion of macro 'YAJL_GET_OBJECT' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2043:16: note: (75) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2047:21: note: (76) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2048:12: note: (77) assuming 'calloc(len + 1, 8)' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2048:12: note: (78) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2050:23: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2051:12: note: (80) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2032:123: note: (81) inlined call to 'free_runtime_spec_schema_config_linux_resources_rdma_function' from 'make_runtime_spec_schema_config_linux_resources_rdma' <--[gcc]
In function 'free_runtime_spec_schema_config_linux_resources_rdma_function',
    inlined from 'make_runtime_spec_schema_config_linux_resources_rdma' at src/ocispec/runtime_spec_schema_config_linux.c:2032:123:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2028:77: note: (82) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2028:77: note: (83) calling 'free_runtime_spec_schema_config_linux_resources_rdma' from 'make_runtime_spec_schema_config_linux_resources_rdma' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: In function 'free_runtime_spec_schema_config_linux_resources_rdma': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2070:1: note: (84) entry to 'free_runtime_spec_schema_config_linux_resources_rdma' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2072:8: note: (85) following 'false' branch (when 'ptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2074:12: note: (86) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2074:8: note: (87) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2074:33: note: (88) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2074:27: note: (89) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2089:5: note: (90) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2089:5: note: (91) '<unknown>' leaks here; was allocated at (76) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:211: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:218: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:482: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:796: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1178: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1184: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1332: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2249: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2259: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2438: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2790: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2796: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:32: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c:32: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:121: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:675: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:32: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:36: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:758: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1406: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1418: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1425: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1431: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1516: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:2025: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: In function 'make_runtime_spec_schema_defs_linux_syscall_arg': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:241:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:489:1: note: (1) entry to 'make_runtime_spec_schema_defs_linux_syscall' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:494:8: note: (2) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:496:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:497:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:501:24: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:528:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:539:24: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:540:12: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:561:24: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:562:12: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:565:20: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:569:16: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:569:16: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:571:27: note: (14) following 'true' branch (when 'i < len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:573:38: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:574:32: note: (16) calling 'make_runtime_spec_schema_defs_linux_syscall_arg' from 'make_runtime_spec_schema_defs_linux_syscall' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:234:1: note: (17) entry to 'make_runtime_spec_schema_defs_linux_syscall_arg' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:239:8: note: (18) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:241:11: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:242:8: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:246:24: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:313:12: note: (22) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:315:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:317:16: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:322:12: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:322:8: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:328:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:328:8: note: (28) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:332:16: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:335:12: note: (30) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:337:20: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:337:20: note: (32) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:338:16: note: (33) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:338:16: note: (34) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:341:24: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:343:16: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:348:37: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:349:16: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:356:9: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:356:23: note: (40) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:358:39: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:358:16: note: (42) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:359:8: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:359:5: note: (44) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:360:8: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:360:5: note: (46) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:361:8: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:361:5: note: (48) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:362:20: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:362:20: note: (50) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:364:35: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:356:23: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:374:27: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:377:12: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:377:12: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:241:11: note: (56) 'resi' leaks here; was allocated at (32) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: In function 'make_runtime_spec_schema_defs_linux_network_interface_priority': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2273:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2271:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2273:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2274:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2278:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2291:12: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:151:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2294:19: note: in expansion of macro 'YAJL_IS_NUMBER' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2294:17: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2299:23: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2300:16: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2306:35: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2310:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2316:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2316:8: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2320:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2323:12: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2325:20: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2325:20: note: (17) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2326:16: note: (18) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2326:16: note: (19) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2329:24: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2331:16: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2336:37: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2337:16: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2344:9: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2344:23: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2346:39: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2346:16: note: (27) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2347:8: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2347:5: note: (29) following 'true' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2348:20: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2348:20: note: (31) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2350:35: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2363:12: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2363:12: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2273:11: note: (35) 'resi' leaks here; was allocated at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: In function 'make_runtime_spec_schema_defs_linux_namespace_reference': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2631:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2634:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2638:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2639:12: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2641:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2643:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2650:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2651:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2660:12: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2660:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2666:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2666:8: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2670:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2673:12: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2675:20: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2676:16: note: (17) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2679:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2680:35: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2681:16: note: (20) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2681:16: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2686:37: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2687:16: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2694:9: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2694:23: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2710:27: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2713:12: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2713:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: note: (29) '<unknown>' leaks here; was allocated at (19) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: warning: leak of 'resi' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2631:8: note: (1) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2634:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2638:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2639:12: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2641:25: note: in expansion of macro 'YAJL_GET_STRING' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2643:16: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2650:24: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2651:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2660:12: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2660:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2666:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2666:8: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2670:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2673:12: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2675:20: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2675:20: note: (17) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2676:16: note: (18) assuming 'resi' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2676:16: note: (19) following 'false' branch (when 'resi' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2679:24: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2681:16: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2686:37: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2687:16: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2694:9: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2694:23: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2710:27: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2713:12: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2713:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2633:11: note: (29) 'resi' leaks here; was allocated at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: In function 'free_basic_test_double_array': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:393:53: warning: dereference of NULL '*ptr.strarrays_item_lens + i * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:798:1: note: (1) entry to 'basic_test_double_array_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:805:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:808:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:813:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:819:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:819:11: note: (6) calling 'make_basic_test_double_array' from 'basic_test_double_array_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:128:1: note: (7) entry to 'make_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:133:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:135:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:136:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:140:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:141:12: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:144:20: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:148:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:150:40: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:150:40: note: (16) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:151:16: note: (17) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:151:16: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:130:75: note: (19) inlined call to 'free_basic_test_double_array_function' from 'make_basic_test_double_array' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:8: <--[gcc]
In function 'free_basic_test_double_array_function',
    inlined from 'make_basic_test_double_array' at src/ocispec/basic_test_double_array.c:130:75:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:126:53: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:126:53: note: (21) calling 'free_basic_test_double_array' from 'make_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: In function 'free_basic_test_double_array': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:383:1: note: (22) entry to 'free_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:385:8: note: (23) following 'false' branch (when 'ptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:8: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:8: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:390:23: note: (27) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:390:23: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:393:53: note: (29) dereference of NULL '*ptr.strarrays_item_lens + i * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:395:17: warning: dereference of NULL '*<unknown> + j * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:798:1: note: (1) entry to 'basic_test_double_array_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:805:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:808:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:813:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:819:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:819:11: note: (6) calling 'make_basic_test_double_array' from 'basic_test_double_array_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:128:1: note: (7) entry to 'make_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:133:8: note: (8) following 'false' branch (when 'tree' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:135:11: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:136:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:140:24: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:141:12: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:144:20: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:148:16: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:150:40: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:151:16: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:151:16: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:153:27: note: (18) following 'true' branch (when 'i < len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:155:65: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:10:39: note: in definition of macro 'YAJL_GET_ARRAY_NO_CHECK' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:156:37: note: (20) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:157:24: note: (21) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:157:24: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:130:75: note: (23) inlined call to 'free_basic_test_double_array_function' from 'make_basic_test_double_array' <--[gcc]
In function 'free_basic_test_double_array_function',
    inlined from 'make_basic_test_double_array' at src/ocispec/basic_test_double_array.c:130:75:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:126:53: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:126:53: note: (25) calling 'free_basic_test_double_array' from 'make_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: In function 'free_basic_test_double_array': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:383:1: note: (26) entry to 'free_basic_test_double_array' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:385:8: note: (27) following 'false' branch (when 'ptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:8: note: (29) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:387:8: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:390:23: note: (31) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:390:23: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:393:27: note: (33) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:395:26: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:395:17: note: (35) dereference of NULL '*<unknown> + j * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:32: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:36: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:32: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:36: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:157: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:182: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:186: error: memleak(CWE-401): Memory leak: ptr <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c: In function 'free_basic_test_top_double_array_string_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:71:42: warning: dereference of NULL '*ptr.subitem_lens + i * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:14:2: note: (1) entry to 'make_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:25:8: note: (2) following 'false' branch (when 'alen != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:27:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:28:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:30:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:31:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:33:14: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:34:25: note: (8) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:35:8: note: (9) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:35:8: note: (10) following 'true' branch... <--[gcc]
In file included from /usr/include/alloca.h:24, <--[gcc]
                 from /usr/include/stdlib.h:728, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:4, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:36:14: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:16:117: note: (12) inlined call to 'free_basic_test_top_double_array_string_container_function' from 'make_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:12:74: note: (13) inlined call to 'free_basic_test_top_double_array_string_container' from 'free_basic_test_top_double_array_string_container_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_basic_test_top_double_array_string_container',
    inlined from 'free_basic_test_top_double_array_string_container_function' at src/ocispec/basic_test_top_double_array_string.c:12:1,
    inlined from 'make_basic_test_top_double_array_string_container.part.0' at src/ocispec/basic_test_top_double_array_string.c:16:117:
cc1: note: (14) calling 'free_basic_test_top_double_array_string_container' from 'make_basic_test_top_double_array_string_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c: In function 'free_basic_test_top_double_array_string_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:61:6: note: (15) entry to 'free_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:68:19: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:68:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:71:42: note: (18) dereference of NULL '*ptr.subitem_lens + i * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:73:13: warning: dereference of NULL '*<unknown> + j * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:14:2: note: (1) entry to 'make_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:25:8: note: (2) following 'false' branch (when 'alen != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:27:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:28:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:30:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:31:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:33:14: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:35:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:35:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:37:19: note: (10) following 'true' branch (when 'alen > i')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:39:55: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:40:25: note: (12) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:41:12: note: (13) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:41:12: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:42:18: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:16:117: note: (16) inlined call to 'free_basic_test_top_double_array_string_container_function' from 'make_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:12:74: note: (17) inlined call to 'free_basic_test_top_double_array_string_container' from 'free_basic_test_top_double_array_string_container_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_basic_test_top_double_array_string_container',
    inlined from 'free_basic_test_top_double_array_string_container_function' at src/ocispec/basic_test_top_double_array_string.c:12:1,
    inlined from 'make_basic_test_top_double_array_string_container.part.0' at src/ocispec/basic_test_top_double_array_string.c:16:117:
cc1: note: (18) calling 'free_basic_test_top_double_array_string_container' from 'make_basic_test_top_double_array_string_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c: In function 'free_basic_test_top_double_array_string_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:61:6: note: (19) entry to 'free_basic_test_top_double_array_string_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:68:19: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:68:19: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:71:23: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:73:22: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:73:13: note: (24) dereference of NULL '*<unknown> + j * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: In function 'free_basic_test_top_double_array_refobj_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:66:42: warning: dereference of NULL '*ptr.subitem_lens + i * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:162:1: note: (1) entry to 'basic_test_top_double_array_refobj_container_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:169:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:172:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:177:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:183:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:183:11: note: (6) calling 'make_basic_test_top_double_array_refobj_container' from 'basic_test_top_double_array_refobj_container_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:14:2: note: (7) entry to 'make_basic_test_top_double_array_refobj_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:21:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:23:10: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:25:8: note: (10) following 'false' branch (when 'alen != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:27:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:28:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:30:18: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:31:8: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:33:14: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:34:25: note: (16) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35:8: note: (17) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35:8: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:16:117: note: (19) inlined call to 'free_basic_test_top_double_array_refobj_container_function' from 'make_basic_test_top_double_array_refobj_container' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:8: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:12:74: note: (20) inlined call to 'free_basic_test_top_double_array_refobj_container' from 'free_basic_test_top_double_array_refobj_container_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_basic_test_top_double_array_refobj_container',
    inlined from 'free_basic_test_top_double_array_refobj_container_function' at src/ocispec/basic_test_top_double_array_refobj.c:12:1,
    inlined from 'make_basic_test_top_double_array_refobj_container' at src/ocispec/basic_test_top_double_array_refobj.c:16:117:
cc1: note: (21) ...to here
cc1: note: (22) calling 'free_basic_test_top_double_array_refobj_container' from 'make_basic_test_top_double_array_refobj_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: In function 'free_basic_test_top_double_array_refobj_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:56:6: note: (23) entry to 'free_basic_test_top_double_array_refobj_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:63:19: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:63:19: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:66:42: note: (26) dereference of NULL '*ptr.subitem_lens + i * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:68:13: warning: dereference of NULL '*<unknown> + j * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:162:1: note: (1) entry to 'basic_test_top_double_array_refobj_container_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:169:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:172:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:177:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:183:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:183:11: note: (6) calling 'make_basic_test_top_double_array_refobj_container' from 'basic_test_top_double_array_refobj_container_parse_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:14:2: note: (7) entry to 'make_basic_test_top_double_array_refobj_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:21:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:23:10: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:25:8: note: (10) following 'false' branch (when 'alen != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:27:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:28:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:30:18: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:31:8: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:33:14: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35:8: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35:8: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:37:19: note: (18) following 'true' branch (when 'i < alen')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:39:55: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:41:25: note: (20) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:42:12: note: (21) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:42:12: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:16:117: note: (23) inlined call to 'free_basic_test_top_double_array_refobj_container_function' from 'make_basic_test_top_double_array_refobj_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:12:74: note: (24) inlined call to 'free_basic_test_top_double_array_refobj_container' from 'free_basic_test_top_double_array_refobj_container_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_basic_test_top_double_array_refobj_container',
    inlined from 'free_basic_test_top_double_array_refobj_container_function' at src/ocispec/basic_test_top_double_array_refobj.c:12:1,
    inlined from 'make_basic_test_top_double_array_refobj_container' at src/ocispec/basic_test_top_double_array_refobj.c:16:117:
cc1: note: (25) ...to here
cc1: note: (26) calling 'free_basic_test_top_double_array_refobj_container' from 'make_basic_test_top_double_array_refobj_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: In function 'free_basic_test_top_double_array_refobj_container.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:56:6: note: (27) entry to 'free_basic_test_top_double_array_refobj_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:63:19: note: (28) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:63:19: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:66:23: note: (30) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:68:51: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:68:13: note: (32) dereference of NULL '*<unknown> + j * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:533: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:539: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:611: error: memleak(CWE-401): Memory leak: keys <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:713: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:718: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:782: error: memleak(CWE-401): Memory leak: keys <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:888: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:894: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1050: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1056: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1345: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1351: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1408: error: memleak(CWE-401): Memory leak: keys <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1414: error: memleak(CWE-401): Memory leak: keys <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1414: error: memleak(CWE-401): Memory leak: vals <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1521: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1528: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1585: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1589: error: memleak(CWE-401): Memory leak: ret <--[cppcheck]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c: In function 'free_json_map_string_string.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1479:11: warning: dereference of NULL '*map.keys + i * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1569:1: note: (1) entry to 'clone_map_string_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1574:6: note: (2) following 'false' branch (when 'src' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1577:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1578:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1581:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1583:15: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1584:6: note: (7) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1584:6: note: (8) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1571:72: note: (9) inlined call to 'free_json_map_string_string_function' from 'clone_map_string_string' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:6: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1492:52: note: (10) inlined call to 'free_json_map_string_string' from 'free_json_map_string_string_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_json_map_string_string',
    inlined from 'free_json_map_string_string_function' at src/ocispec/json_common.c:1492:1,
    inlined from 'clone_map_string_string' at src/ocispec/json_common.c:1571:72:
cc1: note: (11) ...to here
cc1: note: (12) calling 'free_json_map_string_string' from 'clone_map_string_string'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c: In function 'free_json_map_string_string.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1472:1: note: (13) entry to 'free_json_map_string_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1477:21: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1479:20: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1479:11: note: (16) dereference of NULL '*map.keys + i * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1481:11: warning: dereference of NULL '*map.values + i * 8' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1569:1: note: (1) entry to 'clone_map_string_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1574:6: note: (2) following 'false' branch (when 'src' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1577:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1578:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1581:17: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1584:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1587:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1587:17: note: (8) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1588:6: note: (9) assuming '<unknown>' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1588:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1571:72: note: (11) inlined call to 'free_json_map_string_string_function' from 'clone_map_string_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1492:52: note: (12) inlined call to 'free_json_map_string_string' from 'free_json_map_string_string_function' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function' <--[gcc]
In function 'free_json_map_string_string',
    inlined from 'free_json_map_string_string_function' at src/ocispec/json_common.c:1492:1,
    inlined from 'clone_map_string_string' at src/ocispec/json_common.c:1571:72:
cc1: note: (13) ...to here
cc1: note: (14) calling 'free_json_map_string_string' from 'clone_map_string_string'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c: In function 'free_json_map_string_string.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1472:1: note: (15) entry to 'free_json_map_string_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1477:21: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1479:20: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1481:11: note: (18) dereference of NULL '*map.values + i * 8' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:23, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:347:1: note: (1) entry to 'resctl_update' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:361:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:364:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:364:6: note: (4) following 'true' branch (when 'l3_cache_schema' is non-NULL)... <--[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/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:21: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:364:26: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:364:26: note: (6) when 'strstr' returns non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:364:23: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:366:33: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:366:33: note: (9) calling 'intelrdt_clean_l3_cache_schema' from 'resctl_update' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:236:1: note: (10) entry to 'intelrdt_clean_l3_cache_schema' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:241:9: note: (11) calling 'xmalloc' from 'intelrdt_clean_l3_cache_schema' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:23: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (12) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:241:9: note: (15) returning to 'intelrdt_clean_l3_cache_schema' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:366:33: note: (16) returning to 'resctl_update' from 'intelrdt_clean_l3_cache_schema' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:370:8: note: (17) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:371:6: note: (18) assuming 'fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:371:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:374:10: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:374:10: note: (21) calling 'write_intelrdt_string' from 'resctl_update' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:218:1: note: (22) entry to 'write_intelrdt_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:223:9: note: (23) calling 'get_rdt_value' from 'write_intelrdt_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:52:1: note: (24) entry to 'get_rdt_value' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:63:10: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:65:57: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:65:57: note: (27) following 'false' branch (when 'schemata_joined' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:65:57: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:223:9: note: (29) returning to 'write_intelrdt_string' from 'get_rdt_value' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:224:6: note: (30) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:225:34: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:374:10: note: (32) returning to 'resctl_update' from 'write_intelrdt_string' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/intelrdt.c:353:21: note: (33) inlined call to 'cleanup_closep' from 'resctl_update' <--[gcc]
In function 'cleanup_closep',
    inlined from 'resctl_update' at src/libcrun/intelrdt.c:353:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (34) following 'true' branch... <--[gcc]
cc1: note: (35) ...to here
cc1: note: (36) calling 'cleanup_closep' from 'resctl_update'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (37) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (38) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (41) second 'close' here; first 'close' was at (38) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:23, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:40:1: note: (1) entry to 'libcrun_new_terminal' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:44:26: note: (2) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:45:6: note: (3) assuming 'fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:45:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:48:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:44:21: note: (6) inlined call to 'cleanup_closep' from 'libcrun_new_terminal' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:25: <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_new_terminal' at src/libcrun/terminal.c:44:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (7) following 'true' branch... <--[gcc]
cc1: note: (8) ...to here
cc1: note: (9) calling 'cleanup_closep' from 'libcrun_new_terminal'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (10) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (11) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (14) second 'close' here; first 'close' was at (11) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:95:1: note: (1) entry to 'libcrun_set_stdio' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:98:26: note: (2) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:100:6: note: (3) assuming 'fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:100:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:100:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:103:17: note: (6) following 'true' branch (when 'i != 3')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:105:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:98:21: note: (8) inlined call to 'cleanup_closep' from 'libcrun_set_stdio' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_stdio' at src/libcrun/terminal.c:98:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (9) following 'true' branch... <--[gcc]
cc1: note: (10) ...to here
cc1: note: (11) calling 'cleanup_closep' from 'libcrun_set_stdio'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (12) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (13) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (16) second 'close' here; first 'close' was at (13) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'libcrun_set_stdio': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:109:1: warning: leak of file descriptor 'ret' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:95:1: note: (1) entry to 'libcrun_set_stdio' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:100:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:100:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:103:17: note: (4) following 'true' branch (when 'i != 3')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:105:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:105:13: note: (6) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:106:10: note: (7) assuming 'ret' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:106:10: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:103:23: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:103:17: note: (10) following 'true' branch (when 'i != 3')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:105:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:105:13: note: (12) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:106:10: note: (13) assuming 'ret' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:106:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:103:23: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/terminal.c:98:21: note: (16) inlined call to 'cleanup_closep' from 'libcrun_set_stdio' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_stdio' at src/libcrun/terminal.c:98:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (17) following 'true' branch... <--[gcc]
cc1: note: (18) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'libcrun_set_stdio': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:109:1: note: (19) 'ret' leaks here; was opened at (12) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:23, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:23: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:865:1: note: (1) entry to 'libcrun_open_seccomp_bpf' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:874:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:877:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:877:11: note: (4) calling 'open_rundir_dirfd' from 'libcrun_open_seccomp_bpf' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:460:1: note: (5) entry to 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:31: note: (8) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:11: note: (9) assuming 'open(dir, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (11) inlined call to 'cleanup_freep' from 'open_rundir_dirfd' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:25: <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_rundir_dirfd' at src/libcrun/seccomp.c:462:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:877:11: note: (13) returning to 'libcrun_open_seccomp_bpf' from 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:878:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:882:49: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:867:21: note: (16) inlined call to 'cleanup_closep' from 'libcrun_open_seccomp_bpf' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_open_seccomp_bpf' at src/libcrun/seccomp.c:867:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (17) following 'true' branch... <--[gcc]
cc1: note: (18) ...to here
cc1: note: (19) calling 'cleanup_closep' from 'libcrun_open_seccomp_bpf'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (20) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (21) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (24) second 'close' here; first 'close' was at (21) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'memfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:200:1: note: (1) entry to 'libcrun_apply_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:214:6: note: (2) following 'false' branch (when 'infd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:17: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:221:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:242:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:245:28: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:248:6: note: (8) following 'true' branch (when 'listener_receiver_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:250:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:268:10: note: (10) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:269:38: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:250:25: note: (12) inlined call to 'cleanup_closep' from 'libcrun_apply_seccomp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_apply_seccomp' at src/libcrun/seccomp.c:250:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'true' branch... <--[gcc]
cc1: note: (14) ...to here
cc1: note: (15) calling 'cleanup_closep' from 'libcrun_apply_seccomp'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (16) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (17) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (20) second 'close' here; first 'close' was at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:578:1: note: (1) entry to 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:586:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:589:7: note: (3) inlined call to 'is_empty_string' from 'store_seccomp_cache' <--[gcc]
In function 'is_empty_string',
    inlined from 'store_seccomp_cache' at src/libcrun/seccomp.c:589:7:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:20: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:40: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (9) calling 'open_rundir_dirfd' from 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:460:1: note: (10) entry to 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:31: note: (13) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:11: note: (14) assuming 'open(dir, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (16) inlined call to 'cleanup_freep' from 'open_rundir_dirfd' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_rundir_dirfd' at src/libcrun/seccomp.c:462:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (18) returning to 'store_seccomp_cache' from 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:593:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:48: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:598:6: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:583:21: note: (22) inlined call to 'cleanup_closep' from 'store_seccomp_cache' <--[gcc]
In function 'cleanup_closep',
    inlined from 'store_seccomp_cache' at src/libcrun/seccomp.c:583:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'true' branch... <--[gcc]
cc1: note: (25) ...to here
cc1: note: (26) calling 'cleanup_closep' from 'store_seccomp_cache'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (27) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (28) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (29) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (31) second 'close' here; first 'close' was at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '<unknown>' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:200:1: note: (1) entry to 'libcrun_apply_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:214:6: note: (2) following 'false' branch (when 'infd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:17: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:221:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:242:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:245:28: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:248:6: note: (8) following 'true' branch (when 'listener_receiver_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:250:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:261:10: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:267:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:268:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:271:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:273:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:277:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:277:7: note: (16) calling 'close_and_reset' from 'libcrun_apply_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (17) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:277:7: note: (20) returning to 'libcrun_apply_seccomp' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:284:10: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:290:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:290:10: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:250:25: note: (24) inlined call to 'cleanup_closep' from 'libcrun_apply_seccomp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_apply_seccomp' at src/libcrun/seccomp.c:250:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:356:1: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:325:6: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:334:6: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:334:6: note: (30) following 'true' branch (when 'listener_receiver_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:336:43: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:206:21: note: (32) inlined call to 'cleanup_closep' from 'libcrun_apply_seccomp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_apply_seccomp' at src/libcrun/seccomp.c:206:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (33) following 'true' branch... <--[gcc]
cc1: note: (34) ...to here
cc1: note: (35) calling 'cleanup_closep' from 'libcrun_apply_seccomp'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (36) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (37) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (38) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (40) second 'close' here; first 'close' was at (37) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'close_and_reset': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor '*fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (1) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (3) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (6) second 'close' here; first 'close' was at (3) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'memfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:200:1: note: (1) entry to 'libcrun_apply_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:214:6: note: (2) following 'false' branch (when 'infd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:17: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:217:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:221:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:242:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:245:28: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:248:6: note: (8) following 'true' branch (when 'listener_receiver_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:250:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:261:10: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:267:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:268:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:271:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:273:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:277:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:277:7: note: (16) calling 'close_and_reset' from 'libcrun_apply_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (17) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (20) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (23) second 'close' here; first 'close' was at (20) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'open_rundir_dirfd': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:23: warning: leak of file descriptor '<unknown>' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:31: note: (3) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:470:11: note: (4) assuming 'open(dir, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:23: note: (5) '<unknown>' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'evict_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:568:7: warning: use of NULL 'entries' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:506:6: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:509:62: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:512:6: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:512:6: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:520:6: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:528:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:529:10: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:532:20: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:568:7: note: (9) argument 1 ('entries') NULL where non-null expected <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:22: <--[gcc]
/usr/include/stdlib.h:998:13: note: argument 1 of 'qsort' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'store_seccomp_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:9: warning: dereference of NULL '**ctx.container.context' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:578:1: note: (1) entry to 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:586:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:589:7: note: (3) inlined call to 'is_empty_string' from 'store_seccomp_cache' <--[gcc]
In function 'is_empty_string',
    inlined from 'store_seccomp_cache' at src/libcrun/seccomp.c:589:7:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:24: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:20: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'store_seccomp_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:40: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (9) calling 'open_rundir_dirfd' from 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:460:1: note: (10) entry to 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (11) '*container.context' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (15) inlined call to 'cleanup_freep' from 'open_rundir_dirfd' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_rundir_dirfd' at src/libcrun/seccomp.c:462:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'store_seccomp_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (17) returning to 'store_seccomp_cache' from 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:593:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:48: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:9: note: (20) dereference of NULL '*container.context' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:9: warning: dereference of NULL '*container.context' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:662:1: note: (1) entry to 'libcrun_generate_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:673:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:676:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:676:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:679:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:680:6: note: (6) following 'false' branch (when 'seccomp' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:684:7: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:684:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:687:14: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:688:6: note: (10) following 'false' branch (when 'def_action' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:691:7: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:704:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:704:6: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:826:6: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:828:13: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:829:10: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:832:14: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:832:14: note: (18) calling 'store_seccomp_cache' from 'libcrun_generate_seccomp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:578:1: note: (19) entry to 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:586:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:589:7: note: (21) inlined call to 'is_empty_string' from 'store_seccomp_cache' <--[gcc]
In function 'is_empty_string',
    inlined from 'store_seccomp_cache' at src/libcrun/seccomp.c:589:7:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:24: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:20: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'store_seccomp_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:40: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (27) calling 'open_rundir_dirfd' from 'store_seccomp_cache' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:460:1: note: (28) entry to 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (29) '**ctx.container.context' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:467:6: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:471:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:462:22: note: (33) inlined call to 'cleanup_freep' from 'open_rundir_dirfd' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_rundir_dirfd' at src/libcrun/seccomp.c:462:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c: In function 'store_seccomp_cache': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:592:11: note: (35) returning to 'store_seccomp_cache' from 'open_rundir_dirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:593:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:48: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.c:597:9: note: (38) dereference of NULL '*container.context' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:23: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'xrealloc': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:440:1: note: (1) entry to 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (2) calling 'xmalloc' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (3) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (6) returning to 'move_network_device' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (7) calling 'open_netlink_fd' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (8) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (9) when 'socket' fails <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (10) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:108:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (12) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'xrealloc': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:116:1: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (15) returning to 'move_network_device' from 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:452:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (18) calling 'name_to_index' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:150:1: note: (19) entry to 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:167:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:170:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (25) ...to here <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:30: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:178:42: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:180:14: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (28) returning to 'move_network_device' from 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:456:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (31) calling 'get_ip_addresses' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:243:1: note: (32) entry to 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:269:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:269:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:272:75: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:272:75: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:283:14: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:290:14: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:307:17: note: (39) calling 'xrealloc' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (40) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (41) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:307:17: note: (44) returning to 'get_ip_addresses' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:311:11: note: (45) calling 'copy_ip_addr' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:233:1: note: (46) entry to 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:238:13: note: (47) calling 'xmalloc' from 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (48) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (49) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (50) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:238:13: note: (53) returning to 'copy_ip_addr' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:311:11: note: (54) returning to 'get_ip_addresses' from 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:283:14: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:290:14: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:307:17: note: (57) calling 'xrealloc' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (58) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (59) '<unknown>' leaks here; was allocated at (49) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'sock' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:440:1: note: (1) entry to 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (2) calling 'xmalloc' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (3) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (6) returning to 'move_network_device' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (7) calling 'open_netlink_fd' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (8) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (9) when 'socket' fails <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:108:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (12) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:116:1: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (15) returning to 'move_network_device' from 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:452:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (18) calling 'name_to_index' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:150:1: note: (19) entry to 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:167:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:170:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:178:42: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:180:14: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (28) returning to 'move_network_device' from 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:456:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (31) calling 'get_ip_addresses' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:243:1: note: (32) entry to 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (33) calling 'cleanup_ip_addrsp' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:82:1: note: (34) entry to 'cleanup_ip_addrsp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (37) returning to 'get_ip_addresses' from 'cleanup_ip_addrsp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (38) returning to 'move_network_device' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:460:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (41) calling 'do_move_link_to_ns_and_wait' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:414:1: note: (42) entry to 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:424:9: note: (43) calling 'append_rtattr' from 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:119:1: note: (44) entry to 'append_rtattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:124:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:127:43: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:130:6: note: (47) following 'true' branch (when 'data_len != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:131:5: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:424:9: note: (49) returning to 'do_move_link_to_ns_and_wait' from 'append_rtattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:425:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:428:72: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:429:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:432:9: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:433:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:436:10: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (56) returning to 'move_network_device' from 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:465:6: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:469:9: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:470:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:473:6: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:473:6: note: (61) following 'true' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:475:13: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:475:13: note: (63) calling 'setup_network_device_in_ns_helper' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:384:1: note: (64) entry to 'setup_network_device_in_ns_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:392:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:395:16: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:395:16: note: (67) calling 'open_netlink_fd' from 'setup_network_device_in_ns_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (68) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (69) socket created here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (70) when 'socket' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (71) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:110:7: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:110:6: note: (73) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:111:34: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (75) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (76) following 'true' branch... <--[gcc]
cc1: note: (77) ...to here
cc1: note: (78) calling 'cleanup_closep' from 'open_netlink_fd'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (79) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (80) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (81) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (82) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (83) second 'close' here; first 'close' was at (80) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'sock_in_ns' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:440:1: note: (1) entry to 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (2) calling 'xmalloc' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (3) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (6) returning to 'move_network_device' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (7) calling 'open_netlink_fd' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (8) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (9) when 'socket' fails <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:108:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (12) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:116:1: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (15) returning to 'move_network_device' from 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:452:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (18) calling 'name_to_index' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:150:1: note: (19) entry to 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:167:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:170:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:178:42: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:180:14: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (28) returning to 'move_network_device' from 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:456:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (31) calling 'get_ip_addresses' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:243:1: note: (32) entry to 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (33) calling 'cleanup_ip_addrsp' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:82:1: note: (34) entry to 'cleanup_ip_addrsp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (37) returning to 'get_ip_addresses' from 'cleanup_ip_addrsp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (38) returning to 'move_network_device' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:460:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (41) calling 'do_move_link_to_ns_and_wait' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:414:1: note: (42) entry to 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:424:9: note: (43) calling 'append_rtattr' from 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:119:1: note: (44) entry to 'append_rtattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:124:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:127:43: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:130:6: note: (47) following 'true' branch (when 'data_len != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:131:5: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:424:9: note: (49) returning to 'do_move_link_to_ns_and_wait' from 'append_rtattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:425:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:428:72: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:429:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:432:9: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:433:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:436:10: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:464:9: note: (56) returning to 'move_network_device' from 'do_move_link_to_ns_and_wait' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:465:6: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:469:9: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:470:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:473:6: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:473:6: note: (61) following 'true' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:475:13: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:475:13: note: (63) calling 'setup_network_device_in_ns_helper' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:384:1: note: (64) entry to 'setup_network_device_in_ns_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:392:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:395:16: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:395:16: note: (67) calling 'open_netlink_fd' from 'setup_network_device_in_ns_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (68) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (69) when 'socket' fails <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:108:34: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (72) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (73) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:116:1: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:395:16: note: (75) returning to 'setup_network_device_in_ns_helper' from 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:396:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:402:17: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:402:17: note: (78) calling 'name_to_index' from 'setup_network_device_in_ns_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:150:1: note: (79) entry to 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:167:6: note: (80) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:170:9: note: (81) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (84) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:176:34: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:402:17: note: (86) returning to 'setup_network_device_in_ns_helper' from 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:403:6: note: (87) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:387:21: note: (88) inlined call to 'cleanup_closep' from 'setup_network_device_in_ns_helper' <--[gcc]
In function 'cleanup_closep',
    inlined from 'setup_network_device_in_ns_helper' at src/libcrun/net_device.c:387:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (89) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (90) following 'true' branch... <--[gcc]
cc1: note: (91) ...to here
cc1: note: (92) calling 'cleanup_closep' from 'setup_network_device_in_ns_helper'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (93) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (94) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (95) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (96) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (97) second 'close' here; first 'close' was at (94) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'cleanup_ip_addrsp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:92:3: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:440:1: note: (1) entry to 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (2) calling 'xmalloc' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (3) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:444:31: note: (6) returning to 'move_network_device' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (7) calling 'open_netlink_fd' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:98:1: note: (8) entry to 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:106:10: note: (9) when 'socket' fails <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:107:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:108:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:100:21: note: (12) inlined call to 'cleanup_closep' from 'open_netlink_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_netlink_fd' at src/libcrun/net_device.c:100:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c: In function 'cleanup_ip_addrsp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:116:1: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:451:10: note: (15) returning to 'move_network_device' from 'open_netlink_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:452:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (18) calling 'name_to_index' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:150:1: note: (19) entry to 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:167:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:170:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:171:6: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:175:6: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:178:42: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:180:14: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:455:13: note: (28) returning to 'move_network_device' from 'name_to_index' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:456:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:459:9: note: (31) calling 'get_ip_addresses' from 'move_network_device' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:243:1: note: (32) entry to 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:269:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:269:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:272:75: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:272:75: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:283:14: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:290:14: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:307:17: note: (39) calling 'xrealloc' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (40) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (41) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:307:17: note: (44) returning to 'get_ip_addresses' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:311:11: note: (45) calling 'copy_ip_addr' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:233:1: note: (46) entry to 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:238:13: note: (47) calling 'xmalloc' from 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (48) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (49) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (50) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:238:13: note: (53) returning to 'copy_ip_addr' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:311:11: note: (54) returning to 'get_ip_addresses' from 'copy_ip_addr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:314:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:246:36: note: (57) calling 'cleanup_ip_addrsp' from 'get_ip_addresses' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:82:1: note: (58) entry to 'cleanup_ip_addrsp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:86:6: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:89:30: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:92:3: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/net_device.c:92:3: note: (63) '<unknown>' leaks here; was allocated at (49) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'crun_safe_ensure_at': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:578:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:21: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'xrealloc': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2669:1: note: (1) entry to 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2678:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2684:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2684:13: note: (4) calling 'xmalloc' from 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (5) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2684:13: note: (8) returning to 'read_dir_entries' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2685:10: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2687:21: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2689:10: note: (11) following 'false' branch (when 'n_entries != entries_size')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2694:24: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2694:30: note: (13) calling 'xstrdup' from 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (14) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (15) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (17) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2694:30: note: (19) returning to 'read_dir_entries' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2685:10: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2687:21: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2685:10: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2687:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2689:10: note: (24) following 'true' branch (when 'n_entries == entries_size')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2691:24: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2692:21: note: (26) calling 'xrealloc' from 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (27) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (28) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2692:21: note: (31) returning to 'read_dir_entries' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2694:30: note: (32) calling 'xstrdup' from 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (33) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (34) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (36) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (37) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (38) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2694:30: note: (40) returning to 'read_dir_entries' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2685:10: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2696:43: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2696:13: note: (43) calling 'xrealloc' from 'read_dir_entries' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (44) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (45) '<unknown>' leaks here; was allocated at (36) <--[gcc]
In function 'cleanup_freep',
    inlined from 'safe_readlinkat' at src/libcrun/utils.c:424:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: warning: double-'free' of 'tmp_buf' [CWE-415] [-Wanalyzer-double-free] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'safe_readlinkat': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2217:1: note: (1) entry to 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:31: note: (4) following 'true' branch (when 'de' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2232:25: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2234:26: note: (6) first 'free' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2242:10: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (9) calling 'copy_rec_stat_file_at' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2175:1: note: (10) entry to 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2187:6: note: (11) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2189:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (13) returning to 'copy_recursive_fd_to_fd' from 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2246:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:20: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:7: note: (16) following 'case 40960:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2300:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2301:17: note: (18) calling 'safe_readlinkat' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:420:1: note: (19) entry to 'safe_readlinkat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:429:10: note: (20) following 'false' branch (when 'tmp_buf' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (22) passing freed pointer 'tmp_buf' in call to 'xrealloc' from 'safe_readlinkat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (23) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (24) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (27) returning to 'safe_readlinkat' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:435:10: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:437:17: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:424:22: note: (30) inlined call to 'cleanup_freep' from 'safe_readlinkat' <--[gcc]
In function 'cleanup_freep',
    inlined from 'safe_readlinkat' at src/libcrun/utils.c:424:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (31) second 'free' here; first 'free' was at (6) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:26: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'pipe_w' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1725:21: note: (6) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1725:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (7) following 'true' branch... <--[gcc]
cc1: note: (8) ...to here
cc1: note: (9) calling 'cleanup_closep' from 'run_process_with_stdin_timeout_envp'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (10) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (11) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (14) second 'close' here; first 'close' was at (11) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'pipe_r' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1725:21: note: (6) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1725:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1724:21: note: (8) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1724:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (10) following 'true' branch... <--[gcc]
cc1: note: (11) ...to here
cc1: note: (12) calling 'cleanup_closep' from 'run_process_with_stdin_timeout_envp'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (13) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (14) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (17) second 'close' here; first 'close' was at (14) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '<unknown>' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2867:1: note: (1) entry to 'open_proc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2876:6: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2878:13: note: (3) inlined call to 'syscall_fsconfig' from 'open_proc' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:54: <--[gcc]
In function 'syscall_fsconfig',
    inlined from 'open_proc' at src/libcrun/utils.c:2878:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/syscalls.h:142:16: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2879:10: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2881:16: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2882:14: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2872:21: note: (8) inlined call to 'cleanup_closep' from 'open_proc' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_proc' at src/libcrun/utils.c:2872:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (10) following 'true' branch... <--[gcc]
cc1: note: (11) ...to here
cc1: note: (12) calling 'cleanup_closep' from 'open_proc'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (13) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (14) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (17) second 'close' here; first 'close' was at (14) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'destdirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2217:1: note: (1) entry to 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2220:20: note: (4) inlined call to 'cleanup_dirp' from 'copy_recursive_fd_to_fd' <--[gcc]
In function 'cleanup_dirp',
    inlined from 'copy_recursive_fd_to_fd' at src/libcrun/utils.c:2220:20:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:203:6: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:204:5: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2219:21: note: (7) inlined call to 'cleanup_closep' from 'copy_recursive_fd_to_fd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'copy_recursive_fd_to_fd' at src/libcrun/utils.c:2219:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (8) following 'true' branch... <--[gcc]
cc1: note: (9) ...to here
cc1: note: (10) calling 'cleanup_closep' from 'copy_recursive_fd_to_fd'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (11) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (12) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (13) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (15) second 'close' here; first 'close' was at (12) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor '*fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'pipe_r' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1746:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (8) following 'false' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1758:3: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1758:3: note: (10) calling 'close_and_reset' from 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (11) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (12) following 'true' branch... <--[gcc]
cc1: note: (13) ...to here
cc1: note: (14) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (15) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (16) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (17) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (19) second 'close' here; first 'close' was at (16) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'pipe_w' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1746:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (8) following 'false' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1758:3: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1758:3: note: (10) calling 'close_and_reset' from 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (11) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1758:3: note: (14) returning to 'run_process_with_stdin_timeout_envp' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1772:3: note: (15) calling 'close_and_reset' from 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (16) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (17) following 'true' branch... <--[gcc]
cc1: note: (18) ...to here
cc1: note: (19) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (20) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (21) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (24) second 'close' here; first 'close' was at (21) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_child': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1683:23: warning: double 'close' of file descriptor 'pipe_w' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1664:1: note: (1) entry to 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (2) calling 'mark_or_close_fds_ge_than' from 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1831:1: note: (3) entry to 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (4) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1848:10: note: (6) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1833:21: note: (7) inlined call to 'cleanup_closep' from 'mark_or_close_fds_ge_than' <--[gcc]
In function 'cleanup_closep',
    inlined from 'mark_or_close_fds_ge_than' at src/libcrun/utils.c:1833:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_child': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (9) returning to 'run_process_child' from 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1673:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:14: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:6: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1683:23: note: (14) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1683:3: note: (15) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1683:3: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1683:23: note: (17) second 'close' here; first 'close' was at (14) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1696:25: warning: double 'close' of file descriptor 'dev_null_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1746:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (7) following 'true' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1755:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1755:7: note: (9) calling 'run_process_child' from 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1664:1: note: (10) entry to 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (11) calling 'mark_or_close_fds_ge_than' from 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1831:1: note: (12) entry to 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (13) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1848:10: note: (15) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1833:21: note: (16) inlined call to 'cleanup_closep' from 'mark_or_close_fds_ge_than' <--[gcc]
In function 'cleanup_closep',
    inlined from 'mark_or_close_fds_ge_than' at src/libcrun/utils.c:1833:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_child': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (18) returning to 'run_process_child' from 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1673:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:14: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:6: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1678:21: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1678:21: note: (23) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1679:10: note: (24) assuming 'open("/dev/null", 524289)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1679:10: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1679:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1687:3: note: (27) following 'true' branch (when 'out_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1687:3: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1688:3: note: (29) following 'true' branch (when 'err_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1688:3: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1690:6: note: (31) following 'true' branch (when 'out_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1691:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1692:6: note: (33) following 'true' branch (when 'err_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1693:5: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1695:6: note: (35) following 'true' branch (when 'dev_null_fd != -1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1695:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1696:25: note: (37) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1696:5: note: (38) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1696:5: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1696:25: note: (40) second 'close' here; first 'close' was at (37) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1698:25: warning: double 'close' of file descriptor 'out_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1746:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1752:6: note: (7) following 'true' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1755:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1755:7: note: (9) calling 'run_process_child' from 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1664:1: note: (10) entry to 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (11) calling 'mark_or_close_fds_ge_than' from 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1831:1: note: (12) entry to 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (13) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1848:10: note: (15) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1833:21: note: (16) inlined call to 'cleanup_closep' from 'mark_or_close_fds_ge_than' <--[gcc]
In function 'cleanup_closep',
    inlined from 'mark_or_close_fds_ge_than' at src/libcrun/utils.c:1833:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_child': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (18) returning to 'run_process_child' from 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1673:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1676:14: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1687:3: note: (21) following 'true' branch (when 'out_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1687:3: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1688:3: note: (23) following 'true' branch (when 'err_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1688:3: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1690:6: note: (25) following 'true' branch (when 'out_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1691:5: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1692:6: note: (27) following 'true' branch (when 'err_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1693:5: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1695:6: note: (29) following 'false' branch (when 'dev_null_fd == -1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1697:6: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1697:6: note: (31) following 'true' branch (when 'out_fd >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1697:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1698:25: note: (33) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1698:5: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1698:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1698:25: note: (36) second 'close' here; first 'close' was at (33) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_with_stdin_timeout_envp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1828:1: warning: leak of file descriptor 'pipe_w' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1725:21: note: (6) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1725:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_with_stdin_timeout_envp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1724:21: note: (8) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1724:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_with_stdin_timeout_envp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1828:1: note: (10) 'pipe_w' leaks here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1828:1: warning: leak of file descriptor 'pipe_r' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1717:1: note: (1) entry to 'run_process_with_stdin_timeout_envp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (2) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1731:9: note: (3) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1732:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1734:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1725:21: note: (6) inlined call to 'cleanup_closep' from 'run_process_with_stdin_timeout_envp' <--[gcc]
In function 'cleanup_closep',
    inlined from 'run_process_with_stdin_timeout_envp' at src/libcrun/utils.c:1725:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'run_process_with_stdin_timeout_envp': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1828:1: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1828:1: note: (9) 'pipe_r' leaks here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'find_executable': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2028:22: warning: dereference of NULL 'executable_path' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1993:1: note: (1) entry to 'find_executable' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1995:22: note: (2) 'cwd_executable_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2001:8: note: (3) 'cwd_executable_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2003:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2006:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2006:6: note: (6) following 'true' 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/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2006:36: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2006:36: note: (8) when 'strchr' returns non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2006:33: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2010:10: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2010:10: note: (11) following 'false' branch (when 'cwd' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2021:13: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2021:13: note: (13) calling 'append_paths' from 'find_executable' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2373:1: note: (14) entry to 'append_paths' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2391:10: note: (15) following 'false' branch (when 'part' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (17) following 'false' branch (when 'n_parts != 32')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (19) following 'true' branch (when 'n_parts == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2403:33: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2403:40: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2403:33: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2413:14: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2414:10: note: (25) following 'false' branch (when 'size != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2414:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2417:23: note: (27) following 'false' branch (when 'size == 1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2420:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2391:10: note: (29) following 'false' branch (when 'part' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (31) following 'false' branch (when 'n_parts != 32')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (33) following 'false' branch (when 'n_parts != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2400:10: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2414:10: note: (35) following 'false' branch (when 'size != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2414:10: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2391:10: note: (37) following 'false' branch (when 'part' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2394:10: note: (39) following 'true' branch (when 'n_parts == 32')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2396:11: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2021:13: note: (41) returning to 'find_executable' from 'append_paths' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2022:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2024:23: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2024:23: note: (44) 'cwd_executable_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2028:22: note: (45) dereference of NULL 'executable_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'copy_recursive_fd_to_fd': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2226:27: warning: double 'close' of file descriptor 'srcdirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (1) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2226:27: note: (3) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2226:7: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2226:7: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2226:27: note: (6) second 'close' here; first 'close' was at (3) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2270:31: warning: double 'close' of file descriptor 'destfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2217:1: note: (1) entry to 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:31: note: (4) following 'true' branch (when 'de' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2232:25: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2242:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (8) calling 'copy_rec_stat_file_at' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2175:1: note: (9) entry to 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2187:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2189:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (12) returning to 'copy_recursive_fd_to_fd' from 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2246:10: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:7: note: (15) following 'case 32768:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2251:9: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2253:14: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2256:20: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2257:14: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2260:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2260:17: note: (21) calling 'copy_from_fd_to_fd' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1333:1: note: (22) entry to 'copy_from_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1347:10: note: (23) following 'true' branch (when 'can_copy_file_range != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1349:19: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2260:17: note: (25) returning to 'copy_recursive_fd_to_fd' from 'copy_from_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2261:14: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2265:23: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2266:14: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2266:14: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2270:31: note: (30) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2270:11: note: (31) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2270:11: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2270:31: note: (33) second 'close' here; first 'close' was at (30) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2305:17: warning: use of NULL 'target_buf' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2217:1: note: (1) entry to 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2224:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2230:31: note: (4) following 'true' branch (when 'de' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2232:25: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2234:26: note: (6) 'target_buf' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2242:10: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (9) calling 'copy_rec_stat_file_at' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2175:1: note: (10) entry to 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2187:6: note: (11) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2189:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2245:13: note: (13) returning to 'copy_recursive_fd_to_fd' from 'copy_rec_stat_file_at' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2246:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:20: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2249:7: note: (16) following 'case 40960:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2300:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2301:17: note: (18) calling 'safe_readlinkat' from 'copy_recursive_fd_to_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:420:1: note: (19) entry to 'safe_readlinkat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:429:10: note: (20) following 'false' branch (when 'tmp_buf' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (22) calling 'xrealloc' from 'safe_readlinkat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (23) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (24) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:432:17: note: (27) returning to 'safe_readlinkat' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2301:17: note: (28) returning to 'copy_recursive_fd_to_fd' from 'safe_readlinkat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2302:14: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2305:17: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2305:17: note: (31) 'target_buf' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2305:17: note: (32) argument 1 ('target_buf') NULL where non-null expected <--[gcc]
/usr/include/unistd.h:847:12: note: argument 1 of 'symlinkat' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'read_file_as_long_or_default': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2618:9: warning: use of NULL 'content' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2604:22: note: (1) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2611:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2617:3: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2618:9: note: (4) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2618:9: note: (5) argument 1 ('content') NULL where non-null expected <--[gcc]
/usr/include/stdlib.h:219:17: note: argument 1 of 'strtol' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'libcrun_open_proc_file': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: warning: double 'close' of file descriptor '<unknown>' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2907:1: note: (1) entry to 'libcrun_open_proc_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2911:13: note: (2) calling 'libcrun_get_cached_proc_fd' from 'libcrun_open_proc_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2895:1: note: (3) entry to 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2898:12: note: (4) calling 'open_proc' from 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2867:1: note: (5) entry to 'open_proc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2876:6: note: (6) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2878:13: note: (7) inlined call to 'syscall_fsconfig' from 'open_proc' <--[gcc]
In function 'syscall_fsconfig',
    inlined from 'open_proc' at src/libcrun/utils.c:2878:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/syscalls.h:142:16: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'libcrun_open_proc_file': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2879:10: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2881:16: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2882:14: note: (11) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2872:21: note: (12) inlined call to 'cleanup_closep' from 'open_proc' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_proc' at src/libcrun/utils.c:2872:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (14) following 'true' branch... <--[gcc]
cc1: note: (15) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'libcrun_open_proc_file': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2898:12: note: (16) returning to 'libcrun_get_cached_proc_fd' from 'open_proc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2911:13: note: (17) returning to 'libcrun_open_proc_file' from 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2912:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2912:6: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2918:6: note: (20) following 'true' branch (when 'container' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2918:6: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: note: (22) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:5: note: (23) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:5: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: note: (25) second 'close' here; first 'close' was at (22) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: warning: double 'close' of file descriptor 'libcrun_get_cached_proc_fd(container,  err)' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1664:1: note: (1) entry to 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1672:9: note: (2) calling 'mark_or_close_fds_ge_than' from 'run_process_child' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1831:1: note: (3) entry to 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (4) following 'false' branch (when 'close_now == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1845:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1846:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1852:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:1855:9: note: (8) calling 'libcrun_open_proc_file' from 'mark_or_close_fds_ge_than' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2907:1: note: (9) entry to 'libcrun_open_proc_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2911:13: note: (10) calling 'libcrun_get_cached_proc_fd' from 'libcrun_open_proc_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2895:1: note: (11) entry to 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2897:6: note: (12) following 'true' branch (when 'container' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2898:12: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2898:12: note: (14) calling 'open_proc' from 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2867:1: note: (15) entry to 'open_proc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2888:8: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2889:6: note: (17) assuming 'open("/proc", 589824)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2889:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2872:21: note: (19) inlined call to 'cleanup_closep' from 'open_proc' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_proc' at src/libcrun/utils.c:2872:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'libcrun_open_proc_file': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2898:12: note: (21) returning to 'libcrun_get_cached_proc_fd' from 'open_proc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2911:13: note: (22) returning to 'libcrun_open_proc_file' from 'libcrun_get_cached_proc_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2912:6: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2912:6: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2918:6: note: (25) following 'true' branch (when 'container' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2918:6: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: note: (27) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:5: note: (28) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:5: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:2919:25: note: (30) second 'close' here; first 'close' was at (27) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3869: error: uninitvar(CWE-457): Uninitialized variable: code <--[cppcheck]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:30: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'make_oci_process_user': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (33) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:215:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (37) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:215:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:19: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (39) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:215:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:19: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:224:12: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (41) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:215:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:19: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:224:12: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:228:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:230:19: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (43) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: warning: leak of 'xmalloc0(56)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:253:1: note: (1) entry to 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:275:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:280:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:19: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:286:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (8) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (9) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:290:17: note: (12) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (13) calling 'xmalloc0' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (14) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:294:23: note: (17) returning to 'crun_command_exec' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:295:21: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:297:14: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:298:10: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:300:39: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:303:23: note: (22) calling 'make_oci_process_user' from 'crun_command_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:203:1: note: (23) entry to 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:209:6: note: (24) following 'false' branch (when 'userspec' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (26) calling 'xmalloc0' from 'make_oci_process_user' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (27) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:73:15: note: (28) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (29) assuming 'res' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:212:7: note: (32) returning to 'make_oci_process_user' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:215:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:217:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:219:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:19: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:221:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:224:12: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:228:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:230:19: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:230:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/exec.c:232:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:21: note: (45) 'xmalloc0(56)' leaks here; was allocated at (28) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:21: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:712:1: note: (1) entry to 'libcrun_check_pid_valid' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:721:9: note: (2) calling 'read_pid_stat' from 'libcrun_check_pid_valid' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:159:1: note: (3) entry to 'read_pid_stat' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:168:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:171:8: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:171:8: note: (6) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:172:6: note: (7) assuming 'fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:172:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:183:9: note: (9) inlined call to 'read_all_fd' from 'read_pid_stat' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:22: <--[gcc]
In function 'read_all_fd',
    inlined from 'read_pid_stat' at src/libcrun/status.c:183:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:162:21: note: (11) inlined call to 'cleanup_closep' from 'read_pid_stat' <--[gcc]
In function 'cleanup_closep',
    inlined from 'read_pid_stat' at src/libcrun/status.c:162:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (12) following 'true' branch... <--[gcc]
cc1: note: (13) ...to here
cc1: note: (14) calling 'cleanup_closep' from 'read_pid_stat'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (15) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (16) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (17) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (19) second 'close' here; first 'close' was at (16) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd_cleanup' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:526:1: note: (1) entry to 'rmdirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:534:6: note: (2) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:535:34: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:531:46: note: (4) inlined call to 'cleanup_closep' from 'rmdirfd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'rmdirfd' at src/libcrun/status.c:531:46:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (5) following 'true' branch... <--[gcc]
cc1: note: (6) ...to here
cc1: note: (7) calling 'cleanup_closep' from 'rmdirfd'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (8) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (9) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (12) second 'close' here; first 'close' was at (9) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'cfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:526:1: note: (1) entry to 'rmdirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:534:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:538:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:540:26: note: (4) following 'true' branch (when 'de' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:542:22: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:568:18: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:571:21: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:571:21: note: (8) calling 'rmdirfd' from 'rmdirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:526:1: note: (9) entry to 'rmdirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:531:46: note: (10) inlined call to 'cleanup_closep' from 'rmdirfd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'rmdirfd' at src/libcrun/status.c:531:46:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (11) following 'true' branch... <--[gcc]
cc1: note: (12) ...to here
cc1: note: (13) calling 'cleanup_closep' from 'rmdirfd'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (14) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (15) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:531:46: note: (16) inlined call to 'cleanup_closep' from 'rmdirfd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'rmdirfd' at src/libcrun/status.c:531:46:
cc1: note: (17) returning to 'rmdirfd' from 'cleanup_closep'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:529:20: note: (18) inlined call to 'cleanup_dirp' from 'rmdirfd' <--[gcc]
In function 'cleanup_dirp',
    inlined from 'rmdirfd' at src/libcrun/status.c:529:20:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:203:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:581:1: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:571:21: note: (21) returning to 'rmdirfd' from 'rmdirfd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:572:18: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:575:21: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:565:33: note: (24) inlined call to 'cleanup_closep' from 'rmdirfd' <--[gcc]
In function 'cleanup_closep',
    inlined from 'rmdirfd' at src/libcrun/status.c:565:33:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (25) following 'true' branch... <--[gcc]
cc1: note: (26) ...to here
cc1: note: (27) calling 'cleanup_closep' from 'rmdirfd'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (28) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (29) second 'close' here; first 'close' was at (15) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'get_run_directory': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:86:1: warning: leak of 'root' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:637:1: note: (1) entry to 'libcrun_get_containers_list' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:647:9: note: (2) calling 'get_run_directory' from 'libcrun_get_containers_list' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:59:1: note: (3) entry to 'get_run_directory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:64:6: note: (4) following 'true' branch (when 'state_root' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:65:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:65:12: note: (6) calling 'xstrdup' from 'get_run_directory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (7) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (8) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (10) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (11) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (12) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:65:12: note: (14) returning to 'get_run_directory' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:66:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:76:12: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:76:6: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:79:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:80:6: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:62:22: note: (20) inlined call to 'cleanup_freep' from 'get_run_directory' <--[gcc]
In function 'cleanup_freep',
    inlined from 'get_run_directory' at src/libcrun/status.c:62:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'get_run_directory': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:86:1: note: (22) 'root' leaks here; was allocated at (10) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'libcrun_container_delete_status': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:620:1: warning: leak of file descriptor 'rundir_dfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:584:1: note: (1) entry to 'libcrun_container_delete_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:592:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:595:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:595:9: note: (4) calling 'get_run_directory' from 'libcrun_container_delete_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:59:1: note: (5) entry to 'get_run_directory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:64:6: note: (6) following 'false' branch (when 'state_root' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:66:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:66:6: note: (8) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:68:33: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:72:14: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:76:12: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:80:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:38:10: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:83:3: note: in expansion of macro 'STEAL_POINTER' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:595:9: note: (14) returning to 'libcrun_container_delete_status' from 'get_run_directory' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:596:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:596:6: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:599:36: note: (17) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:599:16: note: (18) assuming 'open(dir, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:600:6: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:601:34: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:588:21: note: (21) inlined call to 'cleanup_closep' from 'libcrun_container_delete_status' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_container_delete_status' at src/libcrun/status.c:588:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c: In function 'libcrun_container_delete_status': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:620:1: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/status.c:620:1: note: (24) 'rundir_dfd' leaks here; was opened at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c: In function 'crun_safe_ensure_at': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.c:578:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
  578 |       it = strchr (cur, '/');
      |          ^
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/blake3/blake3.c:229: warning: uninitvar(CWE-457): Uninitialized variable: parents_array <--[cppcheck]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:21, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:502:1: note: (1) entry to 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:506:6: note: (2) following 'false' branch (when 'cgroup_mode != 1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (4) calling 'enter_cgroup_v1' from 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:328:1: note: (5) entry to 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:340:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:343:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:344:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:354:19: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:355:8: note: (10) following 'true' branch (when 'has_data != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:362:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:373:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:376:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:377:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:379:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:383:13: note: (16) calling 'enter_cgroup_v1_subsystem' from 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:197:1: note: (17) entry to 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:227:17: note: (18) calling 'initialize_memory_subsystem' from 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:170:1: note: (19) entry to 'initialize_memory_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:177:11: note: (20) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:178:6: note: (21) assuming 'dirfd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:181:15: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:185:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:181:15: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:185:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:174:21: note: (26) inlined call to 'cleanup_closep' from 'initialize_memory_subsystem' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-internal.h:22, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:23: <--[gcc]
In function 'cleanup_closep',
    inlined from 'initialize_memory_subsystem' at src/libcrun/cgroup-setup.c:174:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (27) following 'true' branch... <--[gcc]
cc1: note: (28) ...to here
cc1: note: (29) calling 'cleanup_closep' from 'initialize_memory_subsystem'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (30) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (31) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (32) second 'close' here; first 'close' was at (31) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:502:1: note: (1) entry to 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:506:6: note: (2) following 'false' branch (when 'cgroup_mode != 1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (4) calling 'enter_cgroup_v1' from 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:328:1: note: (5) entry to 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:340:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:343:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:344:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:354:19: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:355:8: note: (10) following 'true' branch (when 'has_data != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:362:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:373:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:376:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:377:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:379:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:383:13: note: (16) calling 'enter_cgroup_v1_subsystem' from 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:197:1: note: (17) entry to 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:221:17: note: (18) calling 'initialize_cpuset_subsystem' from 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:148:1: note: (19) entry to 'initialize_cpuset_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:150:33: note: (20) calling 'xstrdup' from 'initialize_cpuset_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (21) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (22) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (24) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:150:33: note: (26) returning to 'initialize_cpuset_subsystem' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:155:10: note: (27) calling 'initialize_cpuset_subsystem_rec' from 'initialize_cpuset_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:43:1: note: (28) entry to 'initialize_cpuset_subsystem_rec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:53:11: note: (29) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:54:6: note: (30) assuming 'dirfd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:60:6: note: (31) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:62:17: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:48:21: note: (33) inlined call to 'cleanup_closep' from 'initialize_cpuset_subsystem_rec' <--[gcc]
In function 'cleanup_closep',
    inlined from 'initialize_cpuset_subsystem_rec' at src/libcrun/cgroup-setup.c:48:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:47:21: note: (35) inlined call to 'cleanup_closep' from 'initialize_cpuset_subsystem_rec' <--[gcc]
In function 'cleanup_closep',
    inlined from 'initialize_cpuset_subsystem_rec' at src/libcrun/cgroup-setup.c:47:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (37) following 'true' branch... <--[gcc]
cc1: note: (38) ...to here
cc1: note: (39) calling 'cleanup_closep' from 'initialize_cpuset_subsystem_rec'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (40) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (41) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (42) second 'close' here; first 'close' was at (41) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c: In function 'initialize_cpuset_subsystem': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:155:10: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:502:1: note: (1) entry to 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:506:6: note: (2) following 'false' branch (when 'cgroup_mode != 1')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:514:13: note: (4) calling 'enter_cgroup_v1' from 'enter_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:328:1: note: (5) entry to 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:330:22: note: (6) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:340:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:343:9: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:344:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:354:19: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:355:8: note: (11) following 'true' branch (when 'has_data != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:362:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:373:10: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:376:13: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:377:10: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:379:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:383:13: note: (17) calling 'enter_cgroup_v1_subsystem' from 'enter_cgroup_v1' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:197:1: note: (18) entry to 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:200:22: note: (19) 'cgroup_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:221:17: note: (20) calling 'initialize_cpuset_subsystem' from 'enter_cgroup_v1_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:148:1: note: (21) entry to 'initialize_cpuset_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:155:10: note: (22) argument 1 ('xstrdup(path)') NULL where non-null expected <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:23: <--[gcc]
/usr/include/string.h:439:15: note: argument 1 of 'strlen' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c: In function 'enter_cgroup_v2': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:470:15: warning: use of NULL 'cgroup_crun_exec_path' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:403:1: note: (1) entry to 'enter_cgroup_v2' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:405:22: note: (2) 'cgroup_path_procs' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:406:22: note: (3) 'cgroup_path_procs' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:413:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:416:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:417:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:420:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:428:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:431:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:432:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:435:17: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:448:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:451:3: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:459:26: note: (14) 'cgroup_crun_exec_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:460:26: note: (15) 'cgroup_crun_exec_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:463:10: note: (16) following 'true' branch (when 'init_pid > 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:465:17: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:465:17: note: (18) calling 'read_unified_cgroup_pid' from 'enter_cgroup_v2' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:294:1: note: (19) entry to 'read_unified_cgroup_pid' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:299:22: note: (20) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:299:22: note: (21) inlined call to 'cleanup_freep' from 'read_unified_cgroup_pid' <--[gcc]
In function 'cleanup_freep',
    inlined from 'read_unified_cgroup_pid' at src/libcrun/cgroup-setup.c:299:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (22) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c: In function 'enter_cgroup_v2': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:465:17: note: (23) returning to 'enter_cgroup_v2' from 'read_unified_cgroup_pid' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:466:14: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:470:15: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:470:15: note: (26) 'cgroup_crun_exec_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-setup.c:470:15: note: (27) argument 2 ('cgroup_crun_exec_path') NULL where non-null expected <--[gcc]
/usr/include/string.h:174:12: note: argument 2 of 'strncmp' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c: In function 'get_systemd_scope_and_slice': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c:125:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c: In function 'append_systemd_annotation': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c:641:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:21, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c: In function 'get_systemd_scope_and_slice': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c:125:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
  125 |   n = strchr (cgroup_path, ':');
      |     ^
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c: In function 'append_systemd_annotation': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-systemd.c:641:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
  641 |       end = strchr (it + 1, '\'');
      |           ^
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:21, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'cgroup_dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1471:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1472:14: note: (8) calling 'update_cgroup_v2_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1360:1: note: (9) entry to 'update_cgroup_v2_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1366:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1369:9: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1370:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1373:18: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1373:18: note: (14) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1374:6: note: (15) assuming 'cgroup_dirfd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1374:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1377:6: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1363:21: note: (18) inlined call to 'cleanup_closep' from 'update_cgroup_v2_resources' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-internal.h:22, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:23: <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v2_resources' at src/libcrun/cgroup-resources.c:1363:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (19) following 'true' branch... <--[gcc]
cc1: note: (20) ...to here
cc1: note: (21) calling 'cleanup_closep' from 'update_cgroup_v2_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (22) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (23) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (26) second 'close' here; first 'close' was at (23) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_blkio' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1206:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1208:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1211:21: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1211:21: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1212:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1215:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1215:13: note: (24) calling 'write_blkio_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:286:1: note: (25) entry to 'write_blkio_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:298:10: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:299:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1215:13: note: (28) returning to 'update_cgroup_v1_resources' from 'write_blkio_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1216:10: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1208:25: note: (30) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1208:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (32) following 'true' branch... <--[gcc]
cc1: note: (33) ...to here
cc1: note: (34) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (35) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (36) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (37) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (39) second 'close' here; first 'close' was at (36) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_htlb' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1239:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1241:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1243:20: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1243:20: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1244:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1247:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1249:10: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1241:25: note: (25) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1241:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (27) following 'true' branch... <--[gcc]
cc1: note: (28) ...to here
cc1: note: (29) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (30) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (31) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (32) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (34) second 'close' here; first 'close' was at (31) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_pid' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1279:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1281:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1283:19: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1283:19: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1284:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1287:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1288:10: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1281:25: note: (25) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1281:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (27) following 'true' branch... <--[gcc]
cc1: note: (28) ...to here
cc1: note: (29) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (30) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (31) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (32) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (34) second 'close' here; first 'close' was at (31) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_netclass' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1220:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1222:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1226:24: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1226:24: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1227:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (24) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (25) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (26) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (27) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (29) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1231:10: note: (30) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1223:25: note: (31) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1223:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1222:25: note: (34) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1222:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (36) following 'true' branch... <--[gcc]
cc1: note: (37) ...to here
cc1: note: (38) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (39) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (40) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (41) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (43) second 'close' here; first 'close' was at (40) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'wfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1471:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1472:14: note: (8) calling 'update_cgroup_v2_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1360:1: note: (9) entry to 'update_cgroup_v2_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1366:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1369:9: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1370:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1373:18: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1374:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1377:6: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1406:6: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1408:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1408:13: note: (18) calling 'write_blkio_resources' from 'update_cgroup_v2_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:286:1: note: (19) entry to 'write_blkio_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:330:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:343:12: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:343:6: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:345:10: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:345:10: note: (24) following 'true' branch (when 'cgroup2 != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:347:29: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:351:14: note: (26) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:351:14: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:347:29: note: (28) inlined call to 'cleanup_closep' from 'write_blkio_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'write_blkio_resources' at src/libcrun/cgroup-resources.c:347:29:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (29) following 'true' branch... <--[gcc]
cc1: note: (30) ...to here
cc1: note: (31) calling 'cleanup_closep' from 'write_blkio_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (32) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (33) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (36) second 'close' here; first 'close' was at (33) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'wfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1471:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1472:14: note: (8) calling 'update_cgroup_v2_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1360:1: note: (9) entry to 'update_cgroup_v2_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1366:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1369:9: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1370:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1373:18: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1374:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1377:6: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1406:6: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1408:13: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1408:13: note: (18) calling 'write_blkio_resources' from 'update_cgroup_v2_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:286:1: note: (19) entry to 'write_blkio_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:330:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:343:12: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:415:6: note: (22) following 'true' branch (when 'cgroup2 != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:417:25: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:421:10: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:427:13: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:417:25: note: (26) inlined call to 'cleanup_closep' from 'write_blkio_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'write_blkio_resources' at src/libcrun/cgroup-resources.c:417:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (27) following 'true' branch... <--[gcc]
cc1: note: (28) ...to here
cc1: note: (29) calling 'cleanup_closep' from 'write_blkio_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (30) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (31) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (32) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (34) second 'close' here; first 'close' was at (31) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_devs' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1253:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1255:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1257:20: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1257:20: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1258:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1261:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1261:13: note: (24) calling 'write_devices_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:739:1: note: (25) entry to 'write_devices_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:744:6: note: (26) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:747:11: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1261:13: note: (28) returning to 'update_cgroup_v1_resources' from 'write_devices_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1262:10: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1255:25: note: (30) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1255:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (32) following 'true' branch... <--[gcc]
cc1: note: (33) ...to here
cc1: note: (34) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (35) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (36) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (37) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (39) second 'close' here; first 'close' was at (36) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_cpu' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1292:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1294:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1297:19: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1297:19: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1298:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (24) calling 'write_cpu_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1033:1: note: (25) entry to 'write_cpu_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1047:10: note: (26) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1050:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1051:10: note: (28) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1052:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (30) returning to 'update_cgroup_v1_resources' from 'write_cpu_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1294:25: note: (31) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1294:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (32) following 'true' branch... <--[gcc]
cc1: note: (33) ...to here
cc1: note: (34) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (35) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (36) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (37) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (39) second 'close' here; first 'close' was at (36) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_netprio' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1220:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1222:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1226:24: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (14) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (15) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1226:24: note: (16) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1227:10: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (19) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (20) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (23) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (24) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (26) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (28) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1231:10: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1234:13: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1234:13: note: (31) calling 'write_network_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:477:1: note: (32) entry to 'write_network_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:493:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:487:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1234:13: note: (35) returning to 'update_cgroup_v1_resources' from 'write_network_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1235:10: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1223:25: note: (37) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1223:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (39) following 'true' branch... <--[gcc]
cc1: note: (40) ...to here
cc1: note: (41) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (42) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (43) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (44) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (46) second 'close' here; first 'close' was at (43) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1220:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1222:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1227:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (14) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (15) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1230:23: note: (18) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1231:10: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1234:13: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1234:13: note: (21) calling 'write_network_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:477:1: note: (22) entry to 'write_network_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:493:6: note: (23) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:496:25: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:498:10: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:498:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:501:21: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:496:25: note: (28) inlined call to 'cleanup_closep' from 'write_network_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'write_network_resources' at src/libcrun/cgroup-resources.c:496:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (30) following 'true' branch... <--[gcc]
cc1: note: (31) ...to here
cc1: note: (32) calling 'cleanup_closep' from 'write_network_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (33) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (34) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (37) second 'close' here; first 'close' was at (34) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_mem' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1266:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1268:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1270:19: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (16) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (17) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (19) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1270:19: note: (21) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1271:10: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1274:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1274:13: note: (24) calling 'write_memory_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:848:1: note: (25) entry to 'write_memory_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:856:6: note: (26) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:890:7: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:910:9: note: (28) calling 'write_memory_swap' from 'write_memory_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:803:1: note: (29) entry to 'write_memory_swap' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:810:51: note: (30) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:810:51: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:910:9: note: (32) returning to 'write_memory_resources' from 'write_memory_swap' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:923:10: note: (33) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:926:13: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:927:10: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:928:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1274:13: note: (37) returning to 'update_cgroup_v1_resources' from 'write_memory_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1275:10: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1268:25: note: (39) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1268:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (41) following 'true' branch... <--[gcc]
cc1: note: (42) ...to here
cc1: note: (43) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (44) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (45) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (46) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (48) second 'close' here; first 'close' was at (45) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd_cpuset' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1433:1: note: (1) entry to 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1444:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1447:6: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1469:3: note: (6) following 'case 2 ... 3:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1474:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1476:14: note: (8) calling 'update_cgroup_v1_resources' from 'update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1202:1: note: (9) entry to 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1292:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1294:25: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1297:19: note: (12) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (13) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (14) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (15) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1297:19: note: (16) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1298:10: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (19) calling 'write_cpu_resources' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1033:1: note: (20) entry to 'write_cpu_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1047:10: note: (21) following 'false' branch (when 'cgroup2 == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1050:13: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1301:13: note: (23) returning to 'update_cgroup_v1_resources' from 'write_cpu_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1302:10: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1305:20: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1308:22: note: (26) calling 'open_cgroup_subsystem' from 'update_cgroup_v1_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1185:1: note: (27) entry to 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1191:6: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1194:11: note: (30) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (31) assuming 'open(full_path, 2686976)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1195:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1187:22: note: (33) inlined call to 'cleanup_freep' from 'open_cgroup_subsystem' <--[gcc]
In function 'cleanup_freep',
    inlined from 'open_cgroup_subsystem' at src/libcrun/cgroup-resources.c:1187:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1308:22: note: (35) returning to 'update_cgroup_v1_resources' from 'open_cgroup_subsystem' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1309:10: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1312:13: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1313:10: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-resources.c:1295:25: note: (39) inlined call to 'cleanup_closep' from 'update_cgroup_v1_resources' <--[gcc]
In function 'cleanup_closep',
    inlined from 'update_cgroup_v1_resources' at src/libcrun/cgroup-resources.c:1295:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (41) following 'true' branch... <--[gcc]
cc1: note: (42) ...to here
cc1: note: (43) calling 'cleanup_closep' from 'update_cgroup_v1_resources'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (44) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (45) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (46) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (48) second 'close' here; first 'close' was at (45) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:21, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1006:1: note: (1) entry to 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1016:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (4) calling 'libcrun_cgroup_pause_unpause_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:684:1: note: (5) entry to 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (6) calling 'libcrun_cgroup_pause_unpause_with_mode' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:652:1: note: (7) entry to 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (8) following 'true' branch (when 'pause != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (10) returning to 'libcrun_cgroup_pause_unpause_path' from 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (11) returning to 'libcrun_migrate_all_pids_to_cgroup' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1020:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (14) calling 'libcrun_cgroup_read_pids_from_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:424:1: note: (15) entry to 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:432:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:435:10: note: (17) inlined call to 'libcrun_get_cgroup_mode' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
In function 'libcrun_get_cgroup_mode',
    inlined from 'libcrun_cgroup_read_pids_from_path' at src/libcrun/cgroup-utils.c:435:10:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:201:7: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:436:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:439:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:443:10: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:458:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:458:11: note: (23) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:459:6: note: (24) assuming 'dirfd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:459:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:462:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:465:10: note: (27) calling 'read_pids_cgroup' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:270:1: note: (28) entry to 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:281:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:284:9: note: (30) inlined call to 'read_all_fd' from 'read_pids_cgroup' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-internal.h:22, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:23: <--[gcc]
In function 'read_all_fd',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:284:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:285:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:288:11: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:293:10: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:295:22: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:296:19: note: (36) calling 'xrealloc' from 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (37) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (38) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:296:19: note: (41) returning to 'read_pids_cgroup' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:309:6: note: (42) following 'true' branch (when 'recurse != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:314:13: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:315:10: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:320:17: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:272:21: note: (46) inlined call to 'cleanup_closep' from 'read_pids_cgroup' <--[gcc]
In function 'cleanup_closep',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:272:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (47) following 'true' branch... <--[gcc]
cc1: note: (48) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:465:10: note: (49) returning to 'libcrun_cgroup_read_pids_from_path' from 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:427:21: note: (50) inlined call to 'cleanup_closep' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_cgroup_read_pids_from_path' at src/libcrun/cgroup-utils.c:427:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (51) following 'true' branch... <--[gcc]
cc1: note: (52) ...to here
cc1: note: (53) calling 'cleanup_closep' from 'libcrun_cgroup_read_pids_from_path'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (54) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (55) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (56) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (58) second 'close' here; first 'close' was at (55) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'tasksfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1006:1: note: (1) entry to 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1016:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (4) calling 'libcrun_cgroup_pause_unpause_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:684:1: note: (5) entry to 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (6) calling 'libcrun_cgroup_pause_unpause_with_mode' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:652:1: note: (7) entry to 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (8) following 'true' branch (when 'pause != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (10) returning to 'libcrun_cgroup_pause_unpause_path' from 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (11) returning to 'libcrun_migrate_all_pids_to_cgroup' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1020:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (14) calling 'libcrun_cgroup_read_pids_from_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:424:1: note: (15) entry to 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:432:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:435:10: note: (17) inlined call to 'libcrun_get_cgroup_mode' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
In function 'libcrun_get_cgroup_mode',
    inlined from 'libcrun_cgroup_read_pids_from_path' at src/libcrun/cgroup-utils.c:435:10:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:201:7: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:436:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:439:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:443:10: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:458:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:459:6: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:462:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:465:10: note: (25) calling 'read_pids_cgroup' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:270:1: note: (26) entry to 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:281:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:284:9: note: (28) inlined call to 'read_all_fd' from 'read_pids_cgroup' <--[gcc]
In function 'read_all_fd',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:284:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:272:21: note: (30) inlined call to 'cleanup_closep' from 'read_pids_cgroup' <--[gcc]
In function 'cleanup_closep',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:272:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (31) following 'true' branch... <--[gcc]
cc1: note: (32) ...to here
cc1: note: (33) calling 'cleanup_closep' from 'read_pids_cgroup'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (34) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (35) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (36) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (38) second 'close' here; first 'close' was at (35) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'nfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1006:1: note: (1) entry to 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1016:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (4) calling 'libcrun_cgroup_pause_unpause_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:684:1: note: (5) entry to 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (6) calling 'libcrun_cgroup_pause_unpause_with_mode' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:652:1: note: (7) entry to 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (8) following 'true' branch (when 'pause != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:660:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:692:10: note: (10) returning to 'libcrun_cgroup_pause_unpause_path' from 'libcrun_cgroup_pause_unpause_with_mode' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1019:9: note: (11) returning to 'libcrun_migrate_all_pids_to_cgroup' from 'libcrun_cgroup_pause_unpause_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1020:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:1023:9: note: (14) calling 'libcrun_cgroup_read_pids_from_path' from 'libcrun_migrate_all_pids_to_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:424:1: note: (15) entry to 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:432:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:435:10: note: (17) inlined call to 'libcrun_get_cgroup_mode' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
In function 'libcrun_get_cgroup_mode',
    inlined from 'libcrun_cgroup_read_pids_from_path' at src/libcrun/cgroup-utils.c:435:10:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:201:7: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:436:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:439:3: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:443:10: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:458:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:459:6: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:462:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:465:10: note: (25) calling 'read_pids_cgroup' from 'libcrun_cgroup_read_pids_from_path' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:270:1: note: (26) entry to 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:281:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:284:9: note: (28) inlined call to 'read_all_fd' from 'read_pids_cgroup' <--[gcc]
In function 'read_all_fd',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:284:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:285:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:288:11: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:288:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:309:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:309:6: note: (34) following 'true' branch (when 'recurse != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:314:13: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:315:10: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:320:17: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:320:32: note: (38) following 'true' branch (when 'de' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:322:29: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:331:14: note: (40) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:333:17: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:333:17: note: (42) calling 'read_pids_cgroup' from 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:270:1: note: (43) entry to 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:272:21: note: (44) inlined call to 'cleanup_closep' from 'read_pids_cgroup' <--[gcc]
In function 'cleanup_closep',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:272:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:339:1: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:333:17: note: (47) returning to 'read_pids_cgroup' from 'read_pids_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:334:14: note: (48) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-utils.c:322:29: note: (49) inlined call to 'cleanup_closep' from 'read_pids_cgroup' <--[gcc]
In function 'cleanup_closep',
    inlined from 'read_pids_cgroup' at src/libcrun/cgroup-utils.c:322:29:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (50) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (51) following 'true' branch... <--[gcc]
cc1: note: (52) ...to here
cc1: note: (53) calling 'cleanup_closep' from 'read_pids_cgroup'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (54) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (55) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (56) second 'close' here; first 'close' was at (55) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:23, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '<unknown>' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5940:1: note: (1) entry to 'libcrun_kill_linux' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5943:21: note: (2) inlined call to 'cleanup_closep' from 'libcrun_kill_linux' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:23: <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_kill_linux' at src/libcrun/linux.c:5943:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (3) following 'true' branch... <--[gcc]
cc1: note: (4) ...to here
cc1: note: (5) calling 'cleanup_closep' from 'libcrun_kill_linux'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (6) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (7) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (8) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (10) second 'close' here; first 'close' was at (7) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3542:6: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3544:3: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3547:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3550:8: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3554:6: note: (27) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (28) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (30) following 'true' branch... <--[gcc]
cc1: note: (31) ...to here
cc1: note: (32) calling 'cleanup_closep' from 'libcrun_set_oom'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (33) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (34) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (37) second 'close' here; first 'close' was at (34) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'map_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6289:1: note: (1) entry to 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (2) calling 'make_libcrun_fd_map' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:157:1: note: (3) entry to 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (4) calling 'xmalloc' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (5) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (8) returning to 'make_libcrun_fd_map' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (9) returning to 'libcrun_make_runtime_mounts' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6300:17: note: (10) following 'true' branch (when 'i < len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6302:42: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6310:13: note: (12) calling 'maybe_get_idmapped_mount' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4290:1: note: (13) entry to 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4309:18: note: (14) calling 'get_idmapped_option' from 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4246:1: note: (15) entry to 'get_idmapped_option' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4250:17: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4252:26: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4309:18: note: (18) returning to 'maybe_get_idmapped_mount' from 'get_idmapped_option' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4312:6: note: (19) following 'false' branch (when 'has_mappings_out' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4314:6: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4314:6: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4317:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4317:6: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4321:6: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4321:6: note: (25) following 'true' 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/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:21: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4323:17: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4323:17: note: (27) when 'strchr' returns non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4324:10: note: (28) following 'true' branch (when 'options' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4327:18: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4328:14: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4333:9: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4333:9: note: (32) calling 'maybe_create_userns_for_idmapped_mount' from 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:507:1: note: (33) entry to 'maybe_create_userns_for_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:516:6: note: (34) following 'true' branch (when 'need_new_userns != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:519:9: note: (35) inlined call to 'syscall_clone' from 'maybe_create_userns_for_idmapped_mount' <--[gcc]
In function 'syscall_clone',
    inlined from 'maybe_create_userns_for_idmapped_mount' at src/libcrun/linux.c:519:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:48:16: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:520:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:523:6: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:523:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:531:10: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:531:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:569:22: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:571:10: note: (43) following 'false' branch (when 'options' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:574:21: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:574:21: note: (45) calling 'xstrdup' from 'maybe_create_userns_for_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (46) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (47) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (49) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (50) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:574:21: note: (51) returning to 'maybe_create_userns_for_idmapped_mount' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:577:60: note: (52) following 'true' branch (when 'option' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:579:30: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:585:14: note: (54) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:588:24: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:589:18: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:601:17: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:601:17: note: (58) calling 'parse_idmapped_mount_option' from 'maybe_create_userns_for_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:328:1: note: (59) entry to 'parse_idmapped_mount_option' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:335:14: note: (60) calling 'xmalloc' from 'parse_idmapped_mount_option' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (61) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:335:14: note: (64) returning to 'parse_idmapped_mount_option' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:337:21: note: (65) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:346:10: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:349:10: note: (67) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:352:13: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:356:21: note: (69) following 'true' branch (when 'i != 3')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:358:17: note: (70) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:360:14: note: (71) following 'false' branch (when 'i == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:363:15: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:363:14: note: (73) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:364:20: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:601:17: note: (75) returning to 'maybe_create_userns_for_idmapped_mount' from 'parse_idmapped_mount_option' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:602:14: note: (76) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:580:29: note: (77) inlined call to 'cleanup_closep' from 'maybe_create_userns_for_idmapped_mount' <--[gcc]
In function 'cleanup_closep',
    inlined from 'maybe_create_userns_for_idmapped_mount' at src/libcrun/linux.c:580:29:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (79) following 'true' branch... <--[gcc]
cc1: note: (80) ...to here
cc1: note: (81) calling 'cleanup_closep' from 'maybe_create_userns_for_idmapped_mount'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (82) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (83) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (84) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (86) second 'close' here; first 'close' was at (83) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'false' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5246:9: note: (36) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5246:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5251:9: note: (38) calling 'init_container' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4738:1: note: (39) entry to 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4742:38: note: (40) calling 'get_fd_map' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4193:1: note: (41) entry to 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (42) calling 'get_private_data' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (43) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (46) returning to 'get_fd_map' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4197:6: note: (47) following 'false' branch (when 'mount_fds' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4203:10: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4742:38: note: (49) returning to 'init_container' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4747:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (52) calling 'libcrun_set_oom' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (53) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (54) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (57) returning to 'init_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4794:6: note: (58) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4797:18: note: (59) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4833:6: note: (60) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4870:80: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4871:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4874:18: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4874:6: note: (64) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4882:10: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4882:6: note: (66) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4885:25: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4888:10: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4890:14: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4890:10: note: (70) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4901:14: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4901:10: note: (72) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4885:25: note: (73) inlined call to 'cleanup_closep' from 'init_container' <--[gcc]
In function 'cleanup_closep',
    inlined from 'init_container' at src/libcrun/linux.c:4885:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (75) following 'true' branch... <--[gcc]
cc1: note: (76) ...to here
cc1: note: (77) calling 'cleanup_closep' from 'init_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (78) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (79) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (80) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (81) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (82) second 'close' here; first 'close' was at (79) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'client_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5203:10: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5226:13: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5226:13: note: (59) calling 'prepare_and_send_mounts' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4640:1: note: (60) entry to 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4644:9: note: (61) calling 'expect_success_from_sync_socket' from 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3963:1: note: (62) entry to 'expect_success_from_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3970:6: note: (63) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3971:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4644:9: note: (65) returning to 'prepare_and_send_mounts' from 'expect_success_from_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5226:13: note: (66) returning to 'libcrun_run_linux_container' from 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5227:10: note: (67) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5230:13: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5231:10: note: (69) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5234:26: note: (70) inlined call to 'get_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'get_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5234:26:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:228:7: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5236:13: note: (72) calling 'handle_pidfd_receiver' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4967:1: note: (73) entry to 'handle_pidfd_receiver' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4974:6: note: (74) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4977:11: note: (75) inlined call to 'syscall_pidfd_open' from 'handle_pidfd_receiver' <--[gcc]
In function 'syscall_pidfd_open',
    inlined from 'handle_pidfd_receiver' at src/libcrun/linux.c:4977:11:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:254:16: note: (76) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4978:6: note: (77) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4981:15: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4982:6: note: (79) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4985:10: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4970:21: note: (81) inlined call to 'cleanup_closep' from 'handle_pidfd_receiver' <--[gcc]
In function 'cleanup_closep',
    inlined from 'handle_pidfd_receiver' at src/libcrun/linux.c:4970:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (82) following 'true' branch... <--[gcc]
cc1: note: (83) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4969:21: note: (84) inlined call to 'cleanup_closep' from 'handle_pidfd_receiver' <--[gcc]
In function 'cleanup_closep',
    inlined from 'handle_pidfd_receiver' at src/libcrun/linux.c:4969:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (85) following 'true' branch... <--[gcc]
cc1: note: (86) ...to here
cc1: note: (87) calling 'cleanup_closep' from 'handle_pidfd_receiver'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (88) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (89) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (90) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (91) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (92) second 'close' here; first 'close' was at (89) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'dest_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6261:1: note: (1) entry to 'do_mount_in_a_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6267:17: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6269:25: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6273:10: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6276:104: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6277:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6280:35: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6280:13: note: (8) calling 'fs_move_mount_to' from 'do_mount_in_a_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:882:1: note: (9) entry to 'fs_move_mount_to' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:885:6: note: (10) following 'false' branch (when 'name' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:888:10: note: (11) inlined call to 'syscall_move_mount' from 'fs_move_mount_to' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:77: <--[gcc]
In function 'syscall_move_mount',
    inlined from 'fs_move_mount_to' at src/libcrun/linux.c:888:10:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/syscalls.h:222:16: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6280:13: note: (13) returning to 'do_mount_in_a_container' from 'fs_move_mount_to' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6281:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6269:25: note: (15) inlined call to 'cleanup_closep' from 'do_mount_in_a_container' <--[gcc]
In function 'cleanup_closep',
    inlined from 'do_mount_in_a_container' at src/libcrun/linux.c:6269:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (17) following 'true' branch... <--[gcc]
cc1: note: (18) ...to here
cc1: note: (19) calling 'cleanup_closep' from 'do_mount_in_a_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (20) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (21) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (24) second 'close' here; first 'close' was at (21) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'gid_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (78) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (79) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (81) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:6: note: (84) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (86) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (87) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (88) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (89) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (90) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (91) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (92) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (93) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (94) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (95) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (96) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (97) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:16: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:6: note: (100) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (101) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (102) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (103) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3199:10: note: (104) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3202:13: note: (105) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (106) inlined call to 'cleanup_closep' from 'libcrun_set_usernamespace' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_usernamespace' at src/libcrun/linux.c:3196:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (107) following 'true' branch... <--[gcc]
cc1: note: (108) ...to here
cc1: note: (109) calling 'cleanup_closep' from 'libcrun_set_usernamespace'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (110) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (111) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (112) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (113) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (114) second 'close' here; first 'close' was at (111) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'false' branch (when 'pid == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5246:9: note: (36) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5246:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5251:9: note: (38) calling 'init_container' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4738:1: note: (39) entry to 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4742:38: note: (40) calling 'get_fd_map' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4193:1: note: (41) entry to 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (42) calling 'get_private_data' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (43) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (46) returning to 'get_fd_map' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4197:6: note: (47) following 'false' branch (when 'mount_fds' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4203:10: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4742:38: note: (49) returning to 'init_container' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4747:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (52) calling 'libcrun_set_oom' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (53) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (54) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (57) returning to 'init_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4794:6: note: (58) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4797:18: note: (59) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4833:6: note: (60) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4870:80: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4871:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4874:18: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4874:6: note: (64) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4882:10: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4882:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4915:9: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4916:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4919:18: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4919:6: note: (70) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4946:9: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4946:9: note: (72) calling 'send_success_to_sync_socket' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3933:1: note: (73) entry to 'send_success_to_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3939:6: note: (74) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (75) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3940:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4946:9: note: (76) returning to 'init_container' from 'send_success_to_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4947:6: note: (77) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4951:9: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4951:9: note: (79) calling 'get_fd_map' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4193:1: note: (80) entry to 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (81) calling 'get_private_data' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (82) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (83) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (84) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4195:38: note: (85) returning to 'get_fd_map' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4197:6: note: (86) following 'false' branch (when 'mount_fds' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4203:10: note: (87) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4951:9: note: (88) returning to 'init_container' from 'get_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4952:6: note: (89) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4955:9: note: (90) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4955:9: note: (91) calling 'get_devices_fd_map' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4177:1: note: (92) entry to 'get_devices_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4179:36: note: (93) calling 'get_private_data' from 'get_devices_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (94) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (95) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (96) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4179:36: note: (97) returning to 'get_devices_fd_map' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4181:6: note: (98) following 'false' branch (when 'dev_fds' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4189:10: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4955:9: note: (100) returning to 'init_container' from 'get_devices_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4956:6: note: (101) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4959:58: note: (102) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4959:9: note: (103) calling 'libcrun_container_setgroups' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3066:1: note: (104) entry to 'libcrun_container_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3081:22: note: (105) calling 'can_setgroups' from 'libcrun_container_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3025:1: note: (106) entry to 'can_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3030:7: note: (107) calling 'get_private_data' from 'can_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (108) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (109) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (110) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3030:7: note: (111) returning to 'can_setgroups' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3030:6: note: (112) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3033:16: note: (113) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3033:6: note: (114) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3038:20: note: (115) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3039:10: note: (116) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3044:23: note: (117) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3046:8: note: (118) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3049:13: note: (119) inlined call to 'read_all_fd' from 'can_setgroups' <--[gcc]
In function 'read_all_fd',
    inlined from 'can_setgroups' at src/libcrun/linux.c:3049:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (120) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3044:23: note: (121) inlined call to 'cleanup_closep' from 'can_setgroups' <--[gcc]
In function 'cleanup_closep',
    inlined from 'can_setgroups' at src/libcrun/linux.c:3044:23:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (122) following 'true' branch... <--[gcc]
cc1: note: (123) ...to here
cc1: note: (124) calling 'cleanup_closep' from 'can_setgroups'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (125) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (126) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (127) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (128) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (129) second 'close' here; first 'close' was at (126) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (78) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (79) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (81) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (84) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (85) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (86) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (87) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (88) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (89) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (90) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (91) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (92) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:442:10: note: (93) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:445:7: note: (94) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (95) following 'false' branch (when 's >= mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:447:8: note: (96) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (97) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (100) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:16: note: (101) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:6: note: (102) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (103) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (104) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (105) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3199:10: note: (106) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3202:13: note: (107) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3203:10: note: (108) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3203:28: note: (109) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3209:17: note: (110) calling 'deny_setgroups' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3007:1: note: (111) entry to 'deny_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3013:6: note: (112) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3013:6: note: (113) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3017:6: note: (114) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3018:34: note: (115) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3010:21: note: (116) inlined call to 'cleanup_closep' from 'deny_setgroups' <--[gcc]
In function 'cleanup_closep',
    inlined from 'deny_setgroups' at src/libcrun/linux.c:3010:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (117) following 'true' branch... <--[gcc]
cc1: note: (118) ...to here
cc1: note: (119) calling 'cleanup_closep' from 'deny_setgroups'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (120) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (121) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (122) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (123) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (124) second 'close' here; first 'close' was at (121) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'uid_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (78) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (79) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (81) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:6: note: (84) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (86) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (87) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (88) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (89) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (90) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (91) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (92) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (93) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (94) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (95) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (96) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (97) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:16: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:6: note: (100) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (101) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (102) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (103) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3199:10: note: (104) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3202:13: note: (105) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (106) inlined call to 'cleanup_closep' from 'libcrun_set_usernamespace' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_usernamespace' at src/libcrun/linux.c:3196:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (107) following 'true' branch... <--[gcc]
cc1: note: (108) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3226:6: note: (109) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3229:16: note: (110) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3231:6: note: (111) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3233:10: note: (112) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3233:10: note: (113) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3240:25: note: (114) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3243:10: note: (115) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3246:13: note: (116) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3240:25: note: (117) inlined call to 'cleanup_closep' from 'libcrun_set_usernamespace' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_usernamespace' at src/libcrun/linux.c:3240:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (118) following 'true' branch... <--[gcc]
cc1: note: (119) ...to here
cc1: note: (120) calling 'cleanup_closep' from 'libcrun_set_usernamespace'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (121) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (122) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (123) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (124) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (125) second 'close' here; first 'close' was at (122) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor '*fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor '**cgroup_dirfd.dirfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (33) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5126:7: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5134:10: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5137:7: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5137:7: note: (37) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (38) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (39) following 'true' branch... <--[gcc]
cc1: note: (40) ...to here
cc1: note: (41) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (42) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (43) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (44) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (46) second 'close' here; first 'close' was at (43) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'targetfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5203:10: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5226:13: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5226:13: note: (59) calling 'prepare_and_send_mounts' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4640:1: note: (60) entry to 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4644:9: note: (61) calling 'expect_success_from_sync_socket' from 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3963:1: note: (62) entry to 'expect_success_from_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3970:6: note: (63) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3971:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4644:9: note: (65) returning to 'prepare_and_send_mounts' from 'expect_success_from_sync_socket' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4645:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4648:9: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4648:9: note: (68) calling 'prepare_and_send_mount_mounts' from 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4460:1: note: (69) entry to 'prepare_and_send_mount_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4464:22: note: (70) calling 'get_private_data' from 'prepare_and_send_mount_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (71) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (72) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4464:22: note: (74) returning to 'prepare_and_send_mount_mounts' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4469:6: note: (75) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4463:44: note: (76) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4463:44: note: (77) calling 'cleanup_close_mapp' from 'prepare_and_send_mount_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:171:1: note: (78) entry to 'cleanup_close_mapp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:176:6: note: (79) following 'true' branch (when 'm' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:176:6: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4463:44: note: (81) returning to 'prepare_and_send_mount_mounts' from 'cleanup_close_mapp' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4648:9: note: (82) returning to 'prepare_and_send_mounts' from 'prepare_and_send_mount_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4649:6: note: (83) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4652:9: note: (84) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4652:9: note: (85) calling 'prepare_and_send_dev_mounts' from 'prepare_and_send_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4515:1: note: (86) entry to 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4519:22: note: (87) calling 'get_private_data' from 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (88) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (89) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (90) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4519:22: note: (91) returning to 'prepare_and_send_dev_mounts' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4533:6: note: (92) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4536:13: note: (93) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4536:13: note: (94) calling 'make_libcrun_fd_map' from 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:157:1: note: (95) entry to 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (96) calling 'xmalloc' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (97) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (100) returning to 'make_libcrun_fd_map' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4536:13: note: (101) returning to 'prepare_and_send_dev_mounts' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4538:6: note: (102) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4538:49: note: (103) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4538:23: note: (104) inlined call to 'is_empty_string' from 'prepare_and_send_dev_mounts' <--[gcc]
In function 'is_empty_string',
    inlined from 'prepare_and_send_dev_mounts' at src/libcrun/linux.c:4538:23:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:404:20: note: (105) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4538:67: note: (106) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4538:64: note: (107) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4543:47: note: (108) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4544:6: note: (109) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4547:9: note: (110) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4548:6: note: (111) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4551:9: note: (112) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4556:6: note: (113) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4559:9: note: (114) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4560:6: note: (115) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4566:9: note: (116) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4567:6: note: (117) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4573:16: note: (118) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4573:6: note: (119) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4576:22: note: (120) inlined call to 'get_selinux_context_type' from 'prepare_and_send_dev_mounts' <--[gcc]
In function 'get_selinux_context_type',
    inlined from 'prepare_and_send_dev_mounts' at src/libcrun/linux.c:4576:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1082:18: note: (121) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4579:18: note: (122) calling 'fsopen_mount' from 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:852:1: note: (123) entry to 'fsopen_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:859:6: note: (124) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:862:6: note: (125) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:870:6: note: (126) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:873:10: note: (127) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:855:21: note: (128) inlined call to 'cleanup_closep' from 'fsopen_mount' <--[gcc]
In function 'cleanup_closep',
    inlined from 'fsopen_mount' at src/libcrun/linux.c:855:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (129) following 'true' branch... <--[gcc]
cc1: note: (130) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4579:18: note: (131) returning to 'prepare_and_send_dev_mounts' from 'fsopen_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4580:6: note: (132) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4586:14: note: (133) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4586:14: note: (134) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4587:6: note: (135) assuming 'targetfd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4587:6: note: (136) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4593:9: note: (137) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4593:9: note: (138) calling 'fs_move_mount_to' from 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:882:1: note: (139) entry to 'fs_move_mount_to' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:885:6: note: (140) following 'false' branch (when 'name' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:888:10: note: (141) inlined call to 'syscall_move_mount' from 'fs_move_mount_to' <--[gcc]
In function 'syscall_move_mount',
    inlined from 'fs_move_mount_to' at src/libcrun/linux.c:888:10:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/syscalls.h:222:16: note: (142) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4593:9: note: (143) returning to 'prepare_and_send_dev_mounts' from 'fs_move_mount_to' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4594:6: note: (144) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4600:3: note: (145) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4600:3: note: (146) calling 'close_and_reset' from 'prepare_and_send_dev_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (147) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (148) following 'true' branch... <--[gcc]
cc1: note: (149) ...to here
cc1: note: (150) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (151) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (152) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (153) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (154) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (155) second 'close' here; first 'close' was at (152) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'gid_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (78) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (79) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (80) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (81) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (84) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (85) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (86) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (87) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (88) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (89) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (90) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (91) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (92) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:442:10: note: (93) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:445:7: note: (94) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (95) following 'false' branch (when 's >= mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:447:8: note: (96) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (97) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (100) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:16: note: (101) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3187:6: note: (102) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (103) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3189:10: note: (104) following 'false' branch (when 'ret >= 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3196:25: note: (105) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3199:10: note: (106) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3202:13: note: (107) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3203:10: note: (108) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3203:28: note: (109) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3209:17: note: (110) calling 'deny_setgroups' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3007:1: note: (111) entry to 'deny_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3013:6: note: (112) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3013:6: note: (113) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3017:6: note: (114) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3018:34: note: (115) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3010:21: note: (116) inlined call to 'cleanup_closep' from 'deny_setgroups' <--[gcc]
In function 'cleanup_closep',
    inlined from 'deny_setgroups' at src/libcrun/linux.c:3010:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (117) following 'true' branch... <--[gcc]
cc1: note: (118) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3209:17: note: (119) returning to 'libcrun_set_usernamespace' from 'deny_setgroups' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3210:14: note: (120) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3213:91: note: (121) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3213:17: note: (122) calling 'format_mount_mapping' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:453:1: note: (123) entry to 'format_mount_mapping' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:466:10: note: (124) calling 'format_mount_mappings' from 'format_mount_mapping' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (125) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (126) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (127) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (128) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (129) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (130) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (131) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (132) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:442:10: note: (133) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (134) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:443:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:466:10: note: (135) returning to 'format_mount_mapping' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3213:17: note: (136) returning to 'libcrun_set_usernamespace' from 'format_mount_mapping' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3214:14: note: (137) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3217:11: note: (138) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3217:11: note: (139) calling 'close_and_reset' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (140) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (141) following 'true' branch... <--[gcc]
cc1: note: (142) ...to here
cc1: note: (143) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (144) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (145) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (146) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (147) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (148) second 'close' here; first 'close' was at (145) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: warning: use of uninitialized value '*str' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (76) region created on heap here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (77) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (79) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (80) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (81) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (82) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (83) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (84) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:6: note: (85) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (86) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (87) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (88) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (89) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (90) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (91) region created on heap here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (92) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (93) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (94) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (95) following 'false' branch (when 's >= mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:447:8: note: (96) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (97) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (100) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3186:11: note: (101) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3186:11: note: (102) inlined call to 'newgidmap' from 'libcrun_set_usernamespace' <--[gcc]
In function 'newgidmap',
    inlined from 'libcrun_set_usernamespace' at src/libcrun/linux.c:3186:11:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2997:10: note: (103) calling 'uidgidmap_helper' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2959:1: note: (104) entry to 'uidgidmap_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2965:38: note: (105) calling 'xstrdup' from 'uidgidmap_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (106) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (107) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (108) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (109) while looking for null terminator for argument 1 ('str') of 'strdup'... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (110) use of uninitialized value '*str' here <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/json_common.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.h:27: <--[gcc]
/usr/include/string.h:202:14: note: argument 1 of 'strdup' must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: warning: use of uninitialized value '*str' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4998:1: note: (1) entry to 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (2) calling 'configure_init_status' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4090:1: note: (3) entry to 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4095:17: note: (4) following 'true' branch (when 'i != 11')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4096:15: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5014:9: note: (6) returning to 'libcrun_run_linux_container' from 'configure_init_status' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5015:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (9) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (10) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5018:3: note: (13) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (14) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (15) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5021:3: note: (18) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5024:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5027:33: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (21) calling 'libcrun_set_oom' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3536:1: note: (22) entry to 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3539:21: note: (23) inlined call to 'cleanup_closep' from 'libcrun_set_oom' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_set_oom' at src/libcrun/linux.c:3539:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3557:1: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5049:9: note: (26) returning to 'libcrun_run_linux_container' from 'libcrun_set_oom' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5050:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5054:52: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5055:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5061:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5113:6: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5123:6: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5143:10: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5147:6: note: (35) following 'true' branch (when 'pid != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5149:50: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (37) calling 'libcrun_save_external_descriptors' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3742:1: note: (38) entry to 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3751:6: note: (39) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3752:12: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5152:13: note: (41) returning to 'libcrun_run_linux_container' from 'libcrun_save_external_descriptors' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5153:10: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5156:13: note: (43) inlined call to 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_run_linux_container' at src/libcrun/linux.c:5156:13:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (45) calling 'get_private_data' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (46) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:26: note: (49) returning to 'libcrun_run_linux_container' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (50) calling 'close_and_reset' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (51) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:217:10: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5161:7: note: (54) returning to 'libcrun_run_linux_container' from 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5163:10: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5185:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5192:10: note: (57) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5194:17: note: (59) calling 'libcrun_set_usernamespace' from 'libcrun_run_linux_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3129:1: note: (60) entry to 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (61) calling 'get_private_data' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:191:1: note: (62) entry to 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:193:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:202:19: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:8: note: (65) returning to 'libcrun_set_usernamespace' from 'get_private_data' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3137:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3140:6: note: (68) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:17: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3143:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (72) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (73) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (74) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (75) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (76) region created on heap here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (77) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (79) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (80) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (81) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:442:10: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:445:7: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (84) following 'true' branch (when 's < mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:441:31: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:442:10: note: (86) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:102:25: note: (87) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:443:16: note: in expansion of macro 'crun_make_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3145:13: note: (88) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3146:10: note: (89) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:10: note: (90) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3164:6: note: (91) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (92) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (93) calling 'format_mount_mappings' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:420:1: note: (94) entry to 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (95) calling 'xmalloc' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (96) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:64:15: note: (97) region created on heap here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (98) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (99) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:433:9: note: (100) returning to 'format_mount_mappings' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:434:17: note: (101) following 'false' branch (when 's >= mappings_len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:447:8: note: (102) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3166:13: note: (103) returning to 'libcrun_set_usernamespace' from 'format_mount_mappings' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3167:10: note: (104) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:16: note: (105) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3185:6: note: (106) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3186:11: note: (107) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3186:11: note: (108) inlined call to 'newgidmap' from 'libcrun_set_usernamespace' <--[gcc]
In function 'newgidmap',
    inlined from 'libcrun_set_usernamespace' at src/libcrun/linux.c:3186:11:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2997:10: note: (109) calling 'uidgidmap_helper' from 'libcrun_set_usernamespace' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'xstrdup': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2959:1: note: (110) entry to 'uidgidmap_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:2965:38: note: (111) calling 'xstrdup' from 'uidgidmap_helper' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (112) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (113) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (114) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (115) while looking for null terminator for argument 1 ('str') of 'strdup'... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (116) use of uninitialized value '*str' here <--[gcc]
/usr/include/string.h:202:14: note: argument 1 of 'strdup' must be a pointer to a null-terminated string <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'join_namespaces': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4026:17: warning: use of NULL 'cwd' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4738:1: note: (1) entry to 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4747:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4793:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4794:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4797:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4797:6: note: (6) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4799:84: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4799:13: note: (8) calling 'join_namespaces' from 'init_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3986:1: note: (9) entry to 'join_namespaces' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3992:17: note: (10) following 'true' branch (when 'i < n_namespaces_to_join')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:3995:48: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4003:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4006:10: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4006:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4013:99: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4015:10: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4022:7: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4024:10: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4026:17: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4026:17: note: (20) argument 1 ('cwd') NULL where non-null expected <--[gcc]
/usr/include/unistd.h:517:12: note: argument 1 of 'chdir' must be non-null <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_join_process': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5727:25: warning: double 'close' of file descriptor 'sync_socket_fd[0]' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5579:6: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5585:21: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5624:6: note: (3) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5628:13: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5629:10: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5631:39: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5726:6: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5726:6: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5727:25: note: (9) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5727:5: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5727:5: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5727:25: note: (12) second 'close' here; first 'close' was at (9) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5729:25: warning: double 'close' of file descriptor 'sync_socket_fd[1]' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5579:6: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5585:21: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5624:6: note: (3) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5628:13: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5629:10: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5631:39: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5726:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5728:21: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5728:6: note: (9) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5728:6: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5729:25: note: (11) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5729:5: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5729:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:5729:25: note: (14) second 'close' here; first 'close' was at (11) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: warning: leak of 'data' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6289:1: note: (1) entry to 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (2) calling 'make_libcrun_fd_map' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:157:1: note: (3) entry to 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (4) calling 'xmalloc' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (5) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (8) returning to 'make_libcrun_fd_map' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (9) returning to 'libcrun_make_runtime_mounts' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6300:17: note: (10) following 'true' branch (when 'i < len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6302:42: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6310:13: note: (12) calling 'maybe_get_idmapped_mount' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4290:1: note: (13) entry to 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4311:73: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4311:16: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4312:6: note: (16) following 'false' branch (when 'has_mappings_out' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4314:6: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4293:21: note: (18) inlined call to 'cleanup_pidp' from 'maybe_get_idmapped_mount' <--[gcc]
In function 'cleanup_pidp',
    inlined from 'maybe_get_idmapped_mount' at src/libcrun/linux.c:4293:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:115:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4292:21: note: (20) inlined call to 'cleanup_closep' from 'maybe_get_idmapped_mount' <--[gcc]
In function 'cleanup_closep',
    inlined from 'maybe_get_idmapped_mount' at src/libcrun/linux.c:4292:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4371:1: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6310:13: note: (24) returning to 'libcrun_make_runtime_mounts' from 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6311:10: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6314:19: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6314:10: note: (27) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6316:16: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6319:15: note: (29) calling 'is_bind_mount' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4207:1: note: (30) entry to 'is_bind_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4212:6: note: (31) following 'false' branch (when 'src_nofollow' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4215:3: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6319:15: note: (33) returning to 'libcrun_make_runtime_mounts' from 'is_bind_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6327:21: note: (34) calling 'open_mount_of_type' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4267:1: note: (35) entry to 'open_mount_of_type' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4270:21: note: (36) inlined call to 'cleanup_closep' from 'open_mount_of_type' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_mount_of_type' at src/libcrun/linux.c:4270:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4269:21: note: (38) inlined call to 'cleanup_closep' from 'open_mount_of_type' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_mount_of_type' at src/libcrun/linux.c:4269:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6327:21: note: (40) returning to 'libcrun_make_runtime_mounts' from 'open_mount_of_type' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6328:18: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6333:10: note: (43) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:56: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:17: note: (45) calling 'get_default_flags' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1941:1: note: (46) entry to 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1943:6: note: (47) following 'false' branch (when the strings are non-equal)... <--[gcc]
cc1: note: (48) ...to here
cc1: note: (49) calling 'get_default_flags' from 'get_default_flags'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1941:1: note: (50) entry to 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1945:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1950:7: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1950:6: note: (53) following 'true' branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1952:15: note: (54) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1952:15: note: (55) calling 'xstrdup' from 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (56) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (57) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (59) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (60) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (61) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1952:15: note: (63) returning to 'get_default_flags' from 'xstrdup' <--[gcc]
cc1: note: (64) returning to 'get_default_flags' from 'get_default_flags'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:17: note: (65) returning to 'libcrun_make_runtime_mounts' from 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6343:13: note: (66) calling 'do_mount_setattr' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:279:1: note: (67) entry to 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (68) following 'false' branch (when 'recursive == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6343:13: note: (70) returning to 'libcrun_make_runtime_mounts' from 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: note: (71) 'data' leaks here; was allocated at (59) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: warning: leak of 'data' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6289:1: note: (1) entry to 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (2) calling 'make_libcrun_fd_map' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:157:1: note: (3) entry to 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (4) calling 'xmalloc' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:62:1: note: (5) entry to 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:65:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:67:10: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:162:35: note: (8) returning to 'make_libcrun_fd_map' from 'xmalloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6298:9: note: (9) returning to 'libcrun_make_runtime_mounts' from 'make_libcrun_fd_map' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6300:17: note: (10) following 'true' branch (when 'i < len')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6302:42: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6310:13: note: (12) calling 'maybe_get_idmapped_mount' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4290:1: note: (13) entry to 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4311:73: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4311:16: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4312:6: note: (16) following 'false' branch (when 'has_mappings_out' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4314:6: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4293:21: note: (18) inlined call to 'cleanup_pidp' from 'maybe_get_idmapped_mount' <--[gcc]
In function 'cleanup_pidp',
    inlined from 'maybe_get_idmapped_mount' at src/libcrun/linux.c:4293:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:115:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4292:21: note: (20) inlined call to 'cleanup_closep' from 'maybe_get_idmapped_mount' <--[gcc]
In function 'cleanup_closep',
    inlined from 'maybe_get_idmapped_mount' at src/libcrun/linux.c:4292:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4371:1: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6310:13: note: (24) returning to 'libcrun_make_runtime_mounts' from 'maybe_get_idmapped_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6311:10: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6314:19: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6314:10: note: (27) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6316:16: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6319:15: note: (29) calling 'is_bind_mount' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4207:1: note: (30) entry to 'is_bind_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4212:6: note: (31) following 'false' branch (when 'src_nofollow' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4215:3: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6319:15: note: (33) returning to 'libcrun_make_runtime_mounts' from 'is_bind_mount' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6327:21: note: (34) calling 'open_mount_of_type' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4267:1: note: (35) entry to 'open_mount_of_type' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4270:21: note: (36) inlined call to 'cleanup_closep' from 'open_mount_of_type' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_mount_of_type' at src/libcrun/linux.c:4270:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:4269:21: note: (38) inlined call to 'cleanup_closep' from 'open_mount_of_type' <--[gcc]
In function 'cleanup_closep',
    inlined from 'open_mount_of_type' at src/libcrun/linux.c:4269:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6327:21: note: (40) returning to 'libcrun_make_runtime_mounts' from 'open_mount_of_type' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6328:18: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6333:10: note: (43) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:56: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:17: note: (45) calling 'get_default_flags' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1941:1: note: (46) entry to 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1943:6: note: (47) following 'false' branch (when the strings are non-equal)... <--[gcc]
cc1: note: (48) ...to here
cc1: note: (49) calling 'get_default_flags' from 'get_default_flags'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1941:1: note: (50) entry to 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1947:15: note: (51) calling 'xstrdup' from 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (52) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (53) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (54) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (55) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (56) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (57) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:1947:15: note: (59) returning to 'get_default_flags' from 'xstrdup' <--[gcc]
cc1: note: (60) returning to 'get_default_flags' from 'get_default_flags'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6334:17: note: (61) returning to 'libcrun_make_runtime_mounts' from 'get_default_flags' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6343:13: note: (62) calling 'do_mount_setattr' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:279:1: note: (63) entry to 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (64) following 'false' branch (when 'recursive == 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6343:13: note: (66) returning to 'libcrun_make_runtime_mounts' from 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6344:10: note: (67) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6347:13: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6347:13: note: (69) calling 'do_mount_setattr' from 'libcrun_make_runtime_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:279:1: note: (70) entry to 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (71) following 'true' branch (when 'recursive != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:293:9: note: (72) inlined call to 'syscall_mount_setattr' from 'do_mount_setattr' <--[gcc]
In function 'syscall_mount_setattr',
    inlined from 'do_mount_setattr' at src/libcrun/linux.c:293:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/syscalls.h:252:16: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6347:13: note: (74) returning to 'libcrun_make_runtime_mounts' from 'do_mount_setattr' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6348:10: note: (75) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6303:26: note: (76) inlined call to 'cleanup_freep' from 'libcrun_make_runtime_mounts' <--[gcc]
In function 'cleanup_freep',
    inlined from 'libcrun_make_runtime_mounts' at src/libcrun/linux.c:6303:26:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: In function 'libcrun_make_runtime_mounts': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c:6358:1: note: (78) 'data' leaks here; was allocated at (55) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/linux.c: internal warning: child 11450 timed out after 30s <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:21, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:379:1: note: (1) entry to 'libcrun_cgroup_enter_finalize' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:389:21: note: (2) calling 'find_delegate_cgroup' from 'libcrun_cgroup_enter_finalize' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:89:1: note: (3) entry to 'find_delegate_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:94:6: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:96:21: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:96:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:98:14: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:389:21: note: (8) returning to 'libcrun_cgroup_enter_finalize' from 'find_delegate_cgroup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:390:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:393:17: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:394:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:397:6: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:397:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:400:22: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:405:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:408:9: note: (16) inlined call to 'read_all_fd' from 'libcrun_cgroup_enter_finalize' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup-internal.h:22, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:24: <--[gcc]
In function 'read_all_fd',
    inlined from 'libcrun_cgroup_enter_finalize' at src/libcrun/cgroup.c:408:9:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:313:10: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:401:21: note: (18) inlined call to 'cleanup_closep' from 'libcrun_cgroup_enter_finalize' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_cgroup_enter_finalize' at src/libcrun/cgroup.c:401:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (19) following 'true' branch... <--[gcc]
cc1: note: (20) ...to here
cc1: note: (21) calling 'cleanup_closep' from 'libcrun_cgroup_enter_finalize'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (22) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (23) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (26) second 'close' here; first 'close' was at (23) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c: In function 'libcrun_cgroup_destroy': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:208:24: warning: dereference of NULL 'cgroup_manager' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:199:1: note: (1) entry to 'libcrun_cgroup_destroy' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:201:34: note: (2) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:204:9: note: (3) calling 'get_cgroup_manager' from 'libcrun_cgroup_destroy' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:67:1: note: (4) entry to 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:69:3: note: (5) following 'default:' branch... <--[gcc]
cc1: note: (6) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:204:9: note: (7) returning to 'libcrun_cgroup_destroy' from 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:205:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:208:24: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:208:24: note: (10) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:208:24: note: (11) dereference of NULL 'cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c: In function 'libcrun_update_cgroup_resources': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:224:21: warning: dereference of NULL 'cgroup_manager' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:212:1: note: (1) entry to 'libcrun_update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:217:34: note: (2) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:220:9: note: (3) calling 'get_cgroup_manager' from 'libcrun_update_cgroup_resources' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:67:1: note: (4) entry to 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:69:3: note: (5) following 'default:' branch... <--[gcc]
cc1: note: (6) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:220:9: note: (7) returning to 'libcrun_update_cgroup_resources' from 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:221:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:224:21: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:224:21: note: (10) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:224:21: note: (11) dereference of NULL 'cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c: In function 'libcrun_cgroup_preenter': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:282:21: warning: dereference of NULL 'cgroup_manager' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:263:1: note: (1) entry to 'libcrun_cgroup_preenter' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:272:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:275:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:275:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:278:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:278:9: note: (6) calling 'get_cgroup_manager' from 'libcrun_cgroup_preenter' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:67:1: note: (7) entry to 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:69:3: note: (8) following 'default:' branch... <--[gcc]
cc1: note: (9) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:278:9: note: (10) returning to 'libcrun_cgroup_preenter' from 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:279:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:282:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:282:21: note: (13) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:282:21: note: (14) dereference of NULL 'cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c: In function 'libcrun_cgroup_enter': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:323:23: warning: dereference of NULL 'cgroup_manager' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:289:1: note: (1) entry to 'libcrun_cgroup_enter' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:292:64: note: (2) calling 'xmalloc0' from 'libcrun_cgroup_enter' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (3) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:292:64: note: (6) returning to 'libcrun_cgroup_enter' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:300:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:303:6: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:317:9: note: (9) calling 'get_cgroup_manager' from 'libcrun_cgroup_enter' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:67:1: note: (10) entry to 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:69:3: note: (11) following 'default:' branch... <--[gcc]
cc1: note: (12) ...to here
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:317:9: note: (13) returning to 'libcrun_cgroup_enter' from 'get_cgroup_manager' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:318:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:321:25: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:323:23: note: (16) 'cgroup_manager' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.c:323:23: note: (17) dereference of NULL 'cgroup_manager' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:43: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c: In function 'fetchve': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:40: warning: leak of 'read_file("/proc/self/cmdline", &cmdline_size)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:540:5: note: (1) entry to 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:547:12: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (4) calling 'fetchve' from 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:232:12: note: (5) entry to 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (6) calling 'read_file' from 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:169:14: note: (7) entry to 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:174:12: note: (8) following 'false' branch (when 'length' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:177:14: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:178:12: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:181:17: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:40: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (16) calling 'xrealloc' from 'read_file' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:61: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (17) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (18) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (19) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (22) returning to 'read_file' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:195:9: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (27) returning to 'fetchve' from 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:238:12: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:241:13: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:241:13: note: (30) calling 'parse_xargs' from 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:209:12: note: (31) entry to 'parse_xargs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:12: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:19: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:217:20: note: (34) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:218:20: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:219:27: note: (36) calling 'xrealloc' from 'parse_xargs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (37) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (38) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:219:27: note: (41) returning to 'parse_xargs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:217:20: note: (42) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:218:20: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:219:27: note: (44) calling 'xrealloc' from 'parse_xargs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (45) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (46) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:219:27: note: (49) returning to 'parse_xargs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:217:20: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:223:10: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:241:13: note: (52) returning to 'fetchve' from 'parse_xargs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:40: note: (53) 'read_file("/proc/self/cmdline", &cmdline_size)' leaks here; was allocated at (18) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c: In function 'parse_xargs': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:223:24: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:540:5: note: (1) entry to 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:543:16: note: (2) 'argv' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:547:12: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (5) calling 'fetchve' from 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:232:12: note: (6) entry to 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (7) calling 'read_file' from 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:169:14: note: (8) entry to 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:174:12: note: (9) following 'false' branch (when 'length' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:177:14: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:178:12: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:181:17: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:40: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (17) calling 'xrealloc' from 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (18) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (19) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (22) returning to 'read_file' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:195:9: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (27) returning to 'fetchve' from 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:238:12: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:241:13: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:241:13: note: (30) calling 'parse_xargs' from 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:209:12: note: (31) entry to 'parse_xargs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:12: note: (32) following 'false' branch (when 'data' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:22: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:22: note: (34) 'argv' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:19: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:214:19: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:217:20: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:223:10: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:223:24: note: (39) dereference of NULL '*output + (long unsigned int)num * 8' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c: In function 'fetchve': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:247:9: warning: double-'free' of '0' [CWE-415] [-Wanalyzer-double-free] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:540:5: note: (1) entry to 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:547:12: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:550:13: note: (4) calling 'fetchve' from 'ensure_cloned_binary' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:232:12: note: (5) entry to 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (6) calling 'read_file' from 'fetchve' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:169:14: note: (7) entry to 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:174:12: note: (8) following 'false' branch (when 'length' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:177:14: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:178:12: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:181:17: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:188:20: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:40: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (16) passing freed pointer 'copy' in call to 'xrealloc' from 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (17) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (18) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (19) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:191:24: note: (21) returning to 'read_file' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:186:20: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:187:25: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:237:19: note: (24) returning to 'fetchve' from 'read_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:238:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:239:17: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cloned_binary.c:247:9: note: (27) second 'free' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c: In function 'get_log_type': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:194:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
  194 |   char *sep = strchr (log, ':');
      |               ^~~~~~
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c: In function 'get_log_type': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:194:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c: In function 'make_json_error': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:416:3: warning: use of uninitialized value 'level' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:375:15: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:375:15: note: (2) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:373:1: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:373:1: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:397:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:400:3: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:416:3: note: (7) use of uninitialized value 'level' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:416:3: warning: use of uninitialized value 'level' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:433:1: note: (1) entry to 'write_log' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:439:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:442:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:443:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:446:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:449:3: note: (6) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:455:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:456:14: note: (8) calling 'make_json_error' from 'write_log' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:373:1: note: (9) entry to 'make_json_error' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:375:15: note: (10) region created on stack here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:375:15: note: (11) capacity: 8 bytes <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:373:1: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:373:1: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:397:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:400:3: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.c:416:3: note: (16) use of uninitialized value 'level' here <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'console_socket_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:211:1: note: (1) entry to 'criu_notify' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:213:6: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:218:25: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:223:10: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:226:34: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:229:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:234:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:235:10: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:218:25: note: (9) inlined call to 'cleanup_closep' from 'criu_notify' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:35: <--[gcc]
In function 'cleanup_closep',
    inlined from 'criu_notify' at src/libcrun/criu.c:218:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (11) following 'true' branch... <--[gcc]
cc1: note: (12) ...to here
cc1: note: (13) calling 'cleanup_closep' from 'criu_notify'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (14) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (15) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (16) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (18) second 'close' here; first 'close' was at (15) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'root_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:864:1: note: (1) entry to 'prepare_restore_mounts' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:869:17: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:871:23: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:913:17: note: (4) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:914:10: note: (5) assuming 'root_fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:914:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:917:10: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:922:14: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:873:25: note: (9) inlined call to 'cleanup_closep' from 'prepare_restore_mounts' <--[gcc]
In function 'cleanup_closep',
    inlined from 'prepare_restore_mounts' at src/libcrun/criu.c:873:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (10) ...to here <--[gcc]
cc1: note: (11) calling 'cleanup_closep' from 'prepare_restore_mounts'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (12) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (13) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (14) second 'close' here; first 'close' was at (13) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c: In function 'restore_cgroup_v1_mount': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:369:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:323:22: note: (1) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:325:9: note: (2) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:332:6: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:349:6: note: (7) following 'true' branch (when 'has_cgroup_mount != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:352:9: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:353:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:356:25: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:356:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:359:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:359:51: note: (13) following 'true' branch (when 'from' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:361:26: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:361:26: note: (15) 'destination' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:362:26: note: (16) 'destination' is NULL <--[gcc]
In file included from /usr/include/features.h:540, <--[gcc]
                 from /usr/include/unistd.h:25: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:367:19: note: (17) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:368:17: note: (18) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:369:22: note: (19) dereference of NULL 'strchr(subsystem, 58)' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:371:20: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:323:22: note: (1) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:325:9: note: (2) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:332:6: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:335:6: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:349:6: note: (7) following 'true' branch (when 'has_cgroup_mount != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:352:9: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:353:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:356:25: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:356:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:359:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:359:51: note: (13) following 'true' branch (when 'from' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:361:26: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:361:26: note: (15) 'destination' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:362:26: note: (16) 'destination' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:367:19: note: (17) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:368:17: note: (18) when 'strchr' returns non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:371:20: note: (19) dereference of NULL 'strchr(from, 58)' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c: In function 'checkpoint_cgroup_v1_mount': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:439:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:402:22: note: (1) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:404:9: note: (2) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:420:6: note: (3) following 'true' branch (when 'has_cgroup_mount != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:423:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:424:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:427:25: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:427:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:430:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:430:51: note: (9) following 'true' branch (when 'from' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:432:26: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:432:26: note: (11) 'source_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:437:19: note: (12) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:438:17: note: (13) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:439:22: note: (14) dereference of NULL 'strchr(subsystem, 58)' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:441:20: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:402:22: note: (1) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:404:9: note: (2) 'content' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:420:6: note: (3) following 'true' branch (when 'has_cgroup_mount != 0')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:423:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:424:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:427:25: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:427:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:430:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:430:51: note: (9) following 'true' branch (when 'from' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:432:26: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:432:26: note: (11) 'source_path' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:437:19: note: (12) when 'strchr' returns NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:438:17: note: (13) when 'strchr' returns non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/criu.c:441:20: note: (14) dereference of NULL 'strchr(from, 58)' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:23: <--[gcc]
In function 'cleanup_freep',
    inlined from 'read_all_progs' at src/libcrun/ebpf.c:275:26:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: warning: double-'free' of 'progs' [CWE-415] [-Wanalyzer-double-free] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c: In function 'read_all_progs': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:363:1: note: (1) entry to 'ebpf_attach_program' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:381:30: note: (2) first 'free' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:387:13: note: (3) calling 'read_all_progs' from 'ebpf_attach_program' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:272:1: note: (4) entry to 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:282:32: note: (5) following 'true' branch (when 'cur_size <= 4096')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:50: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (7) passing freed pointer 'progs' in call to 'xrealloc' from 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (8) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (9) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (12) returning to 'read_all_progs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:282:32: note: (13) following 'true' branch (when 'cur_size <= 4096')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:50: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (15) calling 'xrealloc' from 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (16) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (17) when 'realloc' succeeds, without moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (20) returning to 'read_all_progs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:297:6: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:300:14: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:275:26: note: (23) inlined call to 'cleanup_freep' from 'read_all_progs' <--[gcc]
In function 'cleanup_freep',
    inlined from 'read_all_progs' at src/libcrun/ebpf.c:275:26:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (24) second 'free' here; first 'free' was at (2) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:22: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '<unknown>' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:315:1: note: (1) entry to 'remove_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:321:17: note: (2) following 'true' branch (when 'i < n_progs')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:323:25: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:329:10: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:338:7: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:344:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:323:25: note: (7) inlined call to 'cleanup_closep' from 'remove_all_progs' <--[gcc]
In function 'cleanup_closep',
    inlined from 'remove_all_progs' at src/libcrun/ebpf.c:323:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (9) following 'true' branch... <--[gcc]
cc1: note: (10) ...to here
cc1: note: (11) calling 'cleanup_closep' from 'remove_all_progs'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (12) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (13) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (16) second 'close' here; first 'close' was at (13) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'cgroup_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:611:1: note: (1) entry to 'libcrun_ebpf_query_cgroup_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:621:15: note: (2) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:622:6: note: (3) assuming 'cgroup_fd' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:622:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:625:10: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:625:10: note: (6) calling 'read_all_progs' from 'libcrun_ebpf_query_cgroup_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:272:1: note: (7) entry to 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:282:32: note: (8) following 'true' branch (when 'cur_size <= 4096')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:50: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (10) calling 'xrealloc' from 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (11) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (12) when 'realloc' succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (15) returning to 'read_all_progs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:282:32: note: (16) following 'true' branch (when 'cur_size <= 4096')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:50: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (18) calling 'xrealloc' from 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:80:1: note: (19) entry to 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:82:15: note: (20) when 'realloc' succeeds, without moving buffer <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:83:6: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:85:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:284:15: note: (23) returning to 'read_all_progs' from 'xrealloc' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:297:6: note: (24) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:300:14: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:625:10: note: (26) returning to 'libcrun_ebpf_query_cgroup_progs' from 'read_all_progs' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:619:21: note: (27) inlined call to 'cleanup_closep' from 'libcrun_ebpf_query_cgroup_progs' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_ebpf_query_cgroup_progs' at src/libcrun/ebpf.c:619:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (28) following 'true' branch... <--[gcc]
cc1: note: (29) ...to here
cc1: note: (30) calling 'cleanup_closep' from 'libcrun_ebpf_query_cgroup_progs'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (31) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (32) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (33) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (35) second 'close' here; first 'close' was at (32) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c: In function 'read_all_progs': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (1) infinite loop here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (2) when 'ret < 0': always following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.h:25: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:21: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (4) if it ever follows 'true' branch, it will always do so... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (6) looping back... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/ebpf.c:294:18: note: (7) ...to here <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/custom-handler.h:22, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:21: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'rootfsfd_cleanup' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:520:1: note: (1) entry to 'libkrun_configure_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:536:6: note: (2) following 'false' branch (when 'rootfs' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:540:37: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:540:37: note: (4) opened here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:541:10: note: (5) assuming 'rootfsfd_cleanup' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:541:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:545:6: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:531:21: note: (8) inlined call to 'cleanup_closep' from 'libkrun_configure_container' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/custom-handler.h:23: <--[gcc]
In function 'cleanup_closep',
    inlined from 'libkrun_configure_container' at src/libcrun/handlers/krun.c:531:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (9) following 'true' branch... <--[gcc]
cc1: note: (10) ...to here
cc1: note: (11) calling 'cleanup_closep' from 'libkrun_configure_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (12) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (13) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (16) second 'close' here; first 'close' was at (13) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'devfd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:520:1: note: (1) entry to 'libkrun_configure_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:545:6: note: (2) following 'false' branch (when 'phase != 4')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:576:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:576:6: note: (4) following 'false' branch (when 'phase == 2')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:576:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:613:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:616:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:617:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:619:14: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:621:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:623:13: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:530:21: note: (12) inlined call to 'cleanup_closep' from 'libkrun_configure_container' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libkrun_configure_container' at src/libcrun/handlers/krun.c:530:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (13) following 'true' branch... <--[gcc]
cc1: note: (14) ...to here
cc1: note: (15) calling 'cleanup_closep' from 'libkrun_configure_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (16) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (17) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (18) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (20) second 'close' here; first 'close' was at (17) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:520:1: note: (1) entry to 'libkrun_configure_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:536:6: note: (2) following 'true' branch (when 'rootfs' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:545:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:545:6: note: (4) following 'true' branch (when 'phase == 4')... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:547:26: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:554:10: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:557:13: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:558:10: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:561:13: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:562:10: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:567:12: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:568:10: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:571:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:572:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/handlers/krun.c:550:25: note: (15) inlined call to 'cleanup_closep' from 'libkrun_configure_container' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libkrun_configure_container' at src/libcrun/handlers/krun.c:550:25:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (17) following 'true' branch... <--[gcc]
cc1: note: (18) ...to here
cc1: note: (19) calling 'cleanup_closep' from 'libkrun_configure_container'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (20) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (21) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (22) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (24) second 'close' here; first 'close' was at (21) <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/error.h:42, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.h:24, <--[gcc]
                 from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:23: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor '*(void *)p' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3330:1: note: (1) entry to 'libcrun_container_start' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3340:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3343:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3344:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3347:6: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3347:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3350:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3350:9: note: (8) calling 'read_container_config_from_state' from 'libcrun_container_start' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1738:1: note: (9) entry to 'read_container_config_from_state' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1748:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1751:9: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1752:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1755:16: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1755:16: note: (14) calling 'libcrun_container_load_from_file' from 'read_container_config_from_state' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (15) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (16) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (18) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (19) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (20) calling 'xmalloc0' from 'make_container' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:24: <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (21) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (24) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (25) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (27) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1755:16: note: (28) returning to 'read_container_config_from_state' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1756:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:1742:22: note: (30) inlined call to 'cleanup_freep' from 'read_container_config_from_state' <--[gcc]
In function 'cleanup_freep',
    inlined from 'read_container_config_from_state' at src/libcrun/container.c:1742:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3350:9: note: (32) returning to 'libcrun_container_start' from 'read_container_config_from_state' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3351:6: note: (33) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3354:14: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3354:6: note: (35) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3356:13: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3357:10: note: (37) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3336:21: note: (38) inlined call to 'cleanup_closep' from 'libcrun_container_start' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_container_start' at src/libcrun/container.c:3336:21:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (40) following 'true' branch... <--[gcc]
cc1: note: (41) ...to here
cc1: note: (42) calling 'cleanup_closep' from 'libcrun_container_start'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (43) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (44) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (45) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (47) second 'close' here; first 'close' was at (44) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: warning: double 'close' of file descriptor 'console_socket_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:47: <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In file included from /builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:25: <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (52) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (53) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (58) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4072:6: note: (67) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4076:18: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4076:10: note: (69) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4082:13: note: (70) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4083:10: note: (71) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4086:18: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4086:10: note: (73) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4089:49: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4090:14: note: (75) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4092:17: note: (76) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4093:14: note: (77) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4089:29: note: (78) inlined call to 'cleanup_closep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cleanup_closep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:4089:29:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:7: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:107:6: note: (80) following 'true' branch... <--[gcc]
cc1: note: (81) ...to here
cc1: note: (82) calling 'cleanup_closep' from 'libcrun_container_exec_with_options'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'cleanup_closep.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:104:1: note: (83) entry to 'cleanup_closep' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (84) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (85) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:5: note: (86) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:108:25: note: (87) second 'close' here; first 'close' was at (84) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor '*fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (1) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (2) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (4) second 'close' here; first 'close' was at (1) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'seccomp_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3642:1: note: (1) entry to 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3675:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3678:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3679:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3682:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3712:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3715:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3716:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3719:16: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3746:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3749:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3749:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3751:26: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3763:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3766:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3766:7: note: (16) calling 'close_and_reset' from 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (17) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (18) following 'true' branch... <--[gcc]
cc1: note: (19) ...to here
cc1: note: (20) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (21) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (22) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (23) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (25) second 'close' here; first 'close' was at (22) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'seccomp_receiver_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3642:1: note: (1) entry to 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3675:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3678:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3679:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3682:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3712:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3715:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3716:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3719:16: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3746:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3749:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3749:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3751:26: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3763:10: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3766:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3767:7: note: (16) calling 'close_and_reset' from 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (17) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (18) following 'true' branch... <--[gcc]
cc1: note: (19) ...to here
cc1: note: (20) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (21) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (22) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (23) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (25) second 'close' here; first 'close' was at (22) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'terminal_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (52) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (53) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (58) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4072:6: note: (67) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4076:18: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4076:10: note: (69) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4082:13: note: (70) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4083:10: note: (71) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4086:18: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4086:10: note: (73) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4089:49: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4090:14: note: (75) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4092:17: note: (76) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4093:14: note: (77) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4095:11: note: (78) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4095:11: note: (79) calling 'close_and_reset' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (80) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (81) following 'true' branch... <--[gcc]
cc1: note: (82) ...to here
cc1: note: (83) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (84) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (85) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (86) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (87) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (88) second 'close' here; first 'close' was at (85) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'seccomp_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (52) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (53) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (58) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (63) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4069:6: note: (67) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4070:5: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4070:5: note: (69) calling 'close_and_reset' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (70) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (71) following 'true' branch... <--[gcc]
cc1: note: (72) ...to here
cc1: note: (73) calling 'close_and_reset' from 'close_and_reset'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (74) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (75) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (76) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (78) second 'close' here; first 'close' was at (75) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: warning: double 'close' of file descriptor 'own_seccomp_receiver_fd' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:6: note: (43) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (45) calling 'get_seccomp_receiver_fd' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2460:1: note: (46) entry to 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2470:6: note: (47) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2475:13: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2476:10: note: (49) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2479:16: note: (50) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (51) returning to 'libcrun_container_exec_with_options' from 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3954:10: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:29: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (58) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (59) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (60) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (63) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (64) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (65) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (66) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (67) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (69) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (70) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (72) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (74) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (75) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (76) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4072:6: note: (78) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4072:6: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4109:6: note: (80) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4111:27: note: (81) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4111:11: note: (82) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4125:35: note: (83) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4125:10: note: (84) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4127:31: note: (85) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4128:14: note: (86) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4131:17: note: (87) inlined call to 'close_and_reset' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'close_and_reset',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:4131:17:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:7: note: (88) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:211:6: note: (89) following 'true' branch... <--[gcc]
cc1: note: (90) ...to here
cc1: note: (91) calling 'close_and_reset' from 'libcrun_container_exec_with_options'
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h: In function 'close_and_reset.part.0': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:208:1: note: (92) entry to 'close_and_reset' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (93) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (94) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:13: note: (95) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:213:33: note: (96) second 'close' here; first 'close' was at (93) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: warning: dereference of NULL 'process' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3620:1: note: (1) entry to 'libcrun_container_exec_process_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3628:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec_process_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3888:46: note: (4) 'process' is NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (13) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (14) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (17) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (18) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (19) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (20) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (23) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (24) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (26) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (27) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (28) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (30) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (33) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (35) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (37) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (40) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (42) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:6: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:29: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (46) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (48) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (50) dereference of NULL 'process' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4013:32: warning: leak of '*process.selinux_label' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (1) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (10) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (11) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (14) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (15) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (16) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (17) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (20) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (21) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (23) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (24) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (30) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (37) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:6: note: (41) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (43) calling 'get_seccomp_receiver_fd' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2460:1: note: (44) entry to 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2470:6: note: (45) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2475:13: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2476:10: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2479:16: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (49) returning to 'libcrun_container_exec_with_options' from 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3954:10: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:29: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (58) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4010:6: note: (61) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4012:18: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4012:10: note: (63) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4013:34: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4013:34: note: (65) calling 'xstrdup' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (66) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (67) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (69) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (70) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (71) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4013:34: note: (73) returning to 'libcrun_container_exec_with_options' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4013:32: note: (74) '*process.selinux_label' leaks here; was allocated at (69) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4016:35: warning: leak of '*process.apparmor_profile' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (1) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (10) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (11) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (14) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (15) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (16) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (17) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (18) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (20) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (21) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (23) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (24) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (30) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (31) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (32) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (37) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:6: note: (41) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (43) calling 'get_seccomp_receiver_fd' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2460:1: note: (44) entry to 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2470:6: note: (45) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2475:13: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2476:10: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:2479:16: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3951:13: note: (49) returning to 'libcrun_container_exec_with_options' from 'get_seccomp_receiver_fd' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3954:10: note: (50) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:29: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (52) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (54) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (56) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (58) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (59) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (60) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4010:6: note: (61) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4012:18: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4015:10: note: (63) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4016:37: note: (64) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4016:37: note: (65) calling 'xstrdup' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:221:1: note: (66) entry to 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:224:6: note: (67) following 'false' branch (when 'str' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (68) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:227:9: note: (69) allocated here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (70) assuming 'ret' is non-NULL <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (71) following 'false' branch (when 'ret' is non-NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:228:6: note: (72) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4016:37: note: (73) returning to 'libcrun_container_exec_with_options' from 'xstrdup' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4016:35: note: (74) '*process.apparmor_profile' leaks here; was allocated at (69) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4042:27: warning: double 'close' of file descriptor 'pipefd0' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (50) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (53) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (54) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (59) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (60) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (64) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4042:27: note: (68) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4042:7: note: (69) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4042:7: note: (70) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4042:27: note: (71) second 'close' here; first 'close' was at (68) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4057:35: warning: double 'close' of file descriptor 'pipefd1' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (50) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (53) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (54) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (59) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (60) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (64) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4045:7: note: (68) calling 'exec_process_entrypoint' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3642:1: note: (69) entry to 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3669:6: note: (70) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3674:9: note: (71) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3675:6: note: (72) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3652:22: note: (73) inlined call to 'cleanup_freep' from 'exec_process_entrypoint' <--[gcc]
In function 'cleanup_freep',
    inlined from 'exec_process_entrypoint' at src/libcrun/container.c:3652:22:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:92:3: note: (74) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4045:7: note: (75) returning to 'libcrun_container_exec_with_options' from 'exec_process_entrypoint' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4047:10: note: (76) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4049:23: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4049:14: note: (78) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4053:27: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4057:35: note: (80) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4057:15: note: (81) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4057:15: note: (82) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4057:35: note: (83) second 'close' here; first 'close' was at (80) <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4064:23: warning: double 'close' of file descriptor 'pipefd1' [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3607:1: note: (1) entry to 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3616:10: note: (2) calling 'libcrun_container_exec_with_options' from 'libcrun_container_exec' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3864:1: note: (3) entry to 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3893:6: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3896:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3897:6: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3901:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3902:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3905:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3906:6: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (12) calling 'libcrun_container_load_from_file' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:594:1: note: (13) entry to 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:600:6: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (16) calling 'make_container' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:560:1: note: (17) entry to 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (18) calling 'xmalloc0' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:71:1: note: (19) entry to 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:74:6: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:76:10: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:562:36: note: (22) returning to 'make_container' from 'xmalloc0' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:573:6: note: (23) following 'false' branch (when 'config' is NULL)... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:576:10: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:605:10: note: (25) returning to 'libcrun_container_load_from_file' from 'make_container' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3909:15: note: (26) returning to 'libcrun_container_exec_with_options' from 'libcrun_container_load_from_file' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3910:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3913:22: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3915:6: note: (29) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3921:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3924:8: note: (31) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3919:57: note: (32) inlined call to 'cgroup_status_freep' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'cgroup_status_freep',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3919:57:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/cgroup.h:82:6: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3928:6: note: (34) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3931:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3936:6: note: (36) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3939:9: note: (37) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3940:6: note: (38) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3943:3: note: (39) inlined call to 'libcrun_seccomp_gen_ctx_init' from 'libcrun_container_exec_with_options' <--[gcc]
In function 'libcrun_seccomp_gen_ctx_init',
    inlined from 'libcrun_container_exec_with_options' at src/libcrun/container.c:3943:3:
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/seccomp.h:52:3: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c: In function 'libcrun_container_exec_with_options': <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3946:6: note: (41) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3949:18: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3958:6: note: (43) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:11: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3961:6: note: (45) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3998:9: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:3999:6: note: (47) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (48) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (49) opened here as read-write <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4002:9: note: (50) when 'pipe2' succeeds <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4003:6: note: (51) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4005:33: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (53) calling 'initialize_security' from 'libcrun_container_exec_with_options' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:668:1: note: (54) entry to 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:673:6: note: (55) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:22: note: (56) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:676:6: note: (57) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:679:11: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4026:9: note: (59) returning to 'libcrun_container_exec_with_options' from 'initialize_security' <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4027:6: note: (60) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4030:9: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4031:6: note: (62) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4035:47: note: (63) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4036:6: note: (64) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (65) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (66) following 'false' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4040:6: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4064:23: note: (68) first 'close' here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4064:3: note: (69) following 'true' branch... <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4064:3: note: (70) ...to here <--[gcc]
/builddir/build/BUILD/crun-1.26-build/crun-HEAD/src/libcrun/container.c:4064:23: note: (71) second 'close' here; first 'close' was at (68) <--[gcc]
