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-20260113/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 20260113 (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-20260113/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 20260113 (Red Hat 16.0.1-0) (GCC) 
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-shared' '-fPIC' '-D' 'PIC' '-v' '-o' 'conftest' '-Wno-unknown-pragmas' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2' '-dumpdir' 'conftest.'
 /usr/libexec/gcc/x86_64-redhat-linux/16/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/16/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper -plugin-opt=-fresolution=/tmp/cckBKptG.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s_asneeded -plugin-opt=-pass-through=-latomic_asneeded -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s_asneeded --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -shared -o conftest /usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/16/crtbeginS.o -L/usr/lib/gcc/x86_64-redhat-linux/16 -L/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/16/../../.. -L/lib -L/usr/lib conftest.o -soname conftest -lgcc -lgcc_s_asneeded -latomic_asneeded -lc -lgcc -lgcc_s_asneeded /usr/lib/gcc/x86_64-redhat-linux/16/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/crtn.o
/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper -fresolution=/tmp/cckBKptG.res -flinker-output=dyn conftest.o 
/usr/libexec/gcc/x86_64-redhat-linux/16/lto-wrapper -fresolution=/tmp/cckBKptG.res -flinker-output=dyn conftest.o 
LTO parallelism level set to 8
gcc @/tmp/ccvPHRaf
Using built-in specs.
COLLECT_GCC=gcc
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-20260113/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 20260113 (Red Hat 16.0.1-0) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-m64' '-mtls-dialect=gnu2' '-mno-omit-leaf-frame-pointer' '-O2' '-fasynchronous-unwind-tables' '-fcf-protection=full' '-shared' '-fPIC' '-v' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2'   '-fltrans-output-list=/tmp/cc0Bahb2.ltrans.out' '-fwpa=8' '-fresolution=/tmp/cckBKptG.res' '-flinker-output=dyn'
 /usr/libexec/gcc/x86_64-redhat-linux/16/lto1 -quiet -dumpbase ./conftest.wpa -m64 -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -mtls-dialect=gnu2 -g -O2 -version -fno-openmp -fno-openacc -fasynchronous-unwind-tables -fcf-protection=full -fPIC -fltrans-output-list=/tmp/cc0Bahb2.ltrans.out -fwpa=8 -fresolution=/tmp/cckBKptG.res -flinker-output=dyn @/tmp/ccVxXg19
GNU GIMPLE (GCC) version 16.0.1 20260113 (Red Hat 16.0.1-0) (x86_64-redhat-linux)
	compiled by GNU C version 16.0.1 20260113 (Red Hat 16.0.1-0), GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/../lib64/:/lib/../lib64/../lib64/:/usr/lib/../lib64/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-m64' '-mtls-dialect=gnu2' '-mno-omit-leaf-frame-pointer' '-O2' '-fasynchronous-unwind-tables' '-fcf-protection=full' '-shared' '-fPIC' '-v' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2'   '-fltrans-output-list=/tmp/cc0Bahb2.ltrans.out' '-fwpa=8' '-fresolution=/tmp/cckBKptG.res' '-flinker-output=dyn' '-dumpdir' './conftest.wpa.'
make -f /tmp/ccnHUVEz.mk -j8 all
Using built-in specs.
COLLECT_GCC=gcc
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-20260113/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 20260113 (Red Hat 16.0.1-0) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-m64' '-mtls-dialect=gnu2' '-mno-omit-leaf-frame-pointer' '-O2' '-fasynchronous-unwind-tables' '-fcf-protection=full' '-shared' '-fPIC' '-v' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2'   '-fltrans' '-o' '/tmp/cc0Bahb2.ltrans0.ltrans.o'
 /usr/libexec/gcc/x86_64-redhat-linux/16/lto1 -quiet -dumpbase ./conftest.ltrans0.ltrans -m64 -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -mtls-dialect=gnu2 -g -O2 -version -fno-openmp -fno-openacc -fasynchronous-unwind-tables -fcf-protection=full -fPIC -fltrans /tmp/cc0Bahb2.ltrans0.o -o /tmp/ccjnpZUn.s
GNU GIMPLE (GCC) version 16.0.1 20260113 (Red Hat 16.0.1-0) (x86_64-redhat-linux)
	compiled by GNU C version 16.0.1 20260113 (Red Hat 16.0.1-0), GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-m64' '-mtls-dialect=gnu2' '-mno-omit-leaf-frame-pointer' '-O2' '-fasynchronous-unwind-tables' '-fcf-protection=full' '-shared' '-fPIC' '-v' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2'   '-fltrans' '-o' '/tmp/cc0Bahb2.ltrans0.ltrans.o'
 as -v --gdwarf-5 --64 -o /tmp/cc0Bahb2.ltrans0.ltrans.o /tmp/ccjnpZUn.s
GNU assembler version 2.45.50 (x86_64-redhat-linux) using BFD version version 2.45.50.20251124
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/16/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/../lib64/:/lib/../lib64/../lib64/:/usr/lib/../lib64/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../:/lib/:/usr/lib/:/usr/lib/gcc/x86_64-redhat-linux/16/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-g' '-m64' '-mtls-dialect=gnu2' '-mno-omit-leaf-frame-pointer' '-O2' '-fasynchronous-unwind-tables' '-fcf-protection=full' '-shared' '-fPIC' '-v' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2'   '-fltrans' '-o' '/tmp/cc0Bahb2.ltrans0.ltrans.o' '-dumpdir' './conftest.ltrans0.ltrans.'
COLLECT_GCC_OPTIONS='-shared' '-fPIC' '-D' 'PIC' '-v' '-o' 'conftest' '-Wno-unknown-pragmas' '-mtune=generic' '-march=x86-64' '-mtls-dialect=gnu2' '-dumpdir' 'conftest.'
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-20260113/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 20260113 (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.
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c: In function 'debug': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: warning: missing call to 'va_end' [-Wanalyzer-va-list-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:47:5: note: (1) 'va_start' called here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: note: (2) if 'vaformat' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: note: (3) missing call to 'va_end' to match 'va_start' at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c: In function 'debug': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: warning: missing call to 'va_end' [-Wanalyzer-va-list-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:47:5: note: (1) 'va_start' called here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: note: (2) if 'vaformat' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/debug.c:48:11: note: (3) missing call to 'va_end' to match 'va_start' at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: warning: leak of 'strdup(*<unknown>)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:61:1: note: (1) entry to 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:73:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:77:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:79:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:88:18: note: (7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read' <--[gcc]
In function 'authselect_config_read_profile_id',
    inlined from 'authselect_config_read' at files/config.c:88:18:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (9) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (10) assuming 'strdup(*<unknown>)' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (13) following 'true' branch (when '_features' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (15) calling 'authselect_config_read_features' from 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:38:1: note: (16) entry to 'authselect_config_read_features' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: note: (17) if 'string_array_create' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: note: (18) 'strdup(*<unknown>)' leaks here; was allocated at (9) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:23: warning: leak of 'strdup(*<unknown>)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:61:1: note: (1) entry to 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:73:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:77:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:79:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:88:18: note: (7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read' <--[gcc]
In function 'authselect_config_read_profile_id',
    inlined from 'authselect_config_read' at files/config.c:88:18:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (9) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (10) assuming 'strdup(*<unknown>)' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (13) following 'true' branch (when '_features' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (15) calling 'authselect_config_read_features' from 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:38:1: note: (16) entry to 'authselect_config_read_features' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:45:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:45:8: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:27: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:51:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:51:20: note: (21) if 'string_array_add_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:23: note: (22) 'strdup(*<unknown>)' leaks here; was allocated at (9) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: warning: leak of 'strdup(*<unknown>)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:61:1: note: (1) entry to 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:73:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:77:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:79:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:88:18: note: (7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read' <--[gcc]
In function 'authselect_config_read_profile_id',
    inlined from 'authselect_config_read' at files/config.c:88:18:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (9) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (10) assuming 'strdup(*<unknown>)' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (13) following 'true' branch (when '_features' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (15) calling 'authselect_config_read_features' from 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:38:1: note: (16) entry to 'authselect_config_read_features' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: note: (17) if 'string_array_create' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:44:16: note: (18) 'strdup(*<unknown>)' leaks here; was allocated at (9) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:23: warning: leak of 'strdup(*<unknown>)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:61:1: note: (1) entry to 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:73:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:77:13: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:79:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:83:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:88:18: note: (7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read' <--[gcc]
In function 'authselect_config_read_profile_id',
    inlined from 'authselect_config_read' at files/config.c:88:18:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:34:12: note: (9) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c: In function 'authselect_config_read_features': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (10) assuming 'strdup(*<unknown>)' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:89:8: note: (11) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:94:8: note: (13) following 'true' branch (when '_features' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:95:20: note: (15) calling 'authselect_config_read_features' from 'authselect_config_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:38:1: note: (16) entry to 'authselect_config_read_features' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:45:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:45:8: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:27: note: (19) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:51:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:51:20: note: (21) if 'string_array_add_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/config.c:50:23: note: (22) 'strdup(*<unknown>)' leaks here; was allocated at (9) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c: In function 'authselect_system_read_templates': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of 'templates' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:55:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (2) assuming 'templates' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (3) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:60:36: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:73:31: note: (5) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (7) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (8) 'templates' leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: warning: leak of 'templates' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:55:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (2) assuming 'templates' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (3) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:60:36: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:73:31: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: note: (7) if 'textfile_read_dirfd' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: note: (8) 'templates' leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c: In function 'authselect_system_generate': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: warning: leak of 'files' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:103:8: note: (1) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:107:13: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:107:13: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:108:8: note: (4) assuming 'files' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:108:8: note: (5) following 'false' branch (when 'files' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:113:19: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:125:35: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:126:20: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:126:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (11) if 'template_generate' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (12) 'files' leaks here; was allocated at (3) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:27: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c: In function 'authselect_profile_open': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'true' branch (when the strings are equal)... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (21) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (22) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:19: note: (21) following 'true' branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (23) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (24) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:19: note: (21) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (23) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (24) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (19) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (20) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c: In function 'authselect_profile_read_readme': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (9) if 'string_trim' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (10) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:216:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (11) if 'string_is_empty' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (12) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:216:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:8: note: (11) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c: In function 'authselect_system_read_templates': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of 'templates' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:55:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (2) assuming 'templates' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (3) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:60:36: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:73:31: note: (5) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (7) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (8) 'templates' leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: warning: leak of 'templates' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:55:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (2) assuming 'templates' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:56:8: note: (3) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:60:36: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:73:31: note: (5) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:74:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: note: (7) if 'textfile_read_dirfd' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:76:15: note: (8) 'templates' leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c: In function 'authselect_system_generate': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: warning: leak of 'files' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:103:8: note: (1) following 'false' branch (when 'templates' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:107:13: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:107:13: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:108:8: note: (4) assuming 'files' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:108:8: note: (5) following 'false' branch (when 'files' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:113:19: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:125:35: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:126:20: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:126:12: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (11) if 'template_generate' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/files/system.c:131:30: note: (12) 'files' leaks here; was allocated at (3) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:27: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c: In function 'authselect_profile_open': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'true' branch (when the strings are equal)... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (21) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (22) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:133:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:19: note: (21) following 'true' branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (23) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (24) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:135:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:12: note: (19) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:20: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:134:19: note: (21) following 'false' branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:65:11: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (23) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (24) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:137:13: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: warning: leak of file descriptor 'dirfd' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:94:1: note: (1) entry to 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:109:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:114:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:117:30: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:118:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:119:12: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (8) calling 'authselect_profile_open_location' from 'authselect_profile_open' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:65:1: note: (9) entry to 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:71:13: note: (10) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:72:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:88:13: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:123:15: note: (14) returning to 'authselect_profile_open' from 'authselect_profile_open_location' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:124:12: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:127:19: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:132:13: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (19) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:64:5: note: (20) 'dirfd' leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:140:9: note: in expansion of macro 'INFO' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c: In function 'authselect_profile_read_readme': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (9) if 'string_trim' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (10) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:216:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (11) if 'string_is_empty' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (12) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'name' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:197:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:201:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:202:8: note: (3) following 'false' branch (when 'lineend != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:209:12: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (6) assuming 'name' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:210:8: note: (7) following 'false' branch (when 'name' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:215:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:216:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:221:8: note: (11) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) 'name' leaks here; was allocated at (5) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/profiles/read.c:222:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c: In function 'string_explode_add_value': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: warning: leak of 'token' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:181:1: note: (1) entry to 'string_explode' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:189:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:189:8: note: (3) ...to here <--[gcc]
In file included from /usr/include/features.h:540, <--[gcc]
                 from /usr/include/ctype.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:21: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:194:19: note: (4) when 'strchr' returns non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:194:49: note: (5) following 'true' branch (when 'pos' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:195:19: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:196:17: note: (7) calling 'string_explode_add_value' from 'string_explode' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:156:1: note: (8) entry to 'string_explode_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:164:11: note: (9) calling 'string_explode_get_token' from 'string_explode_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:99:1: note: (10) entry to 'string_explode_get_token' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:107:13: note: (11) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:108:8: note: (12) assuming 'token' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:108:8: note: (13) following 'false' branch (when 'token' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:112:15: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:112:8: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:128:22: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:128:15: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:138:15: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:164:11: note: (19) returning to 'string_explode_add_value' from 'string_explode_get_token' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:165:8: note: (20) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:170:15: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:170:8: note: (22) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (24) if 'string_array_add_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (25) 'token' leaks here; was allocated at (11) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_free.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:100:22: warning: use after 'reallocarray' of 'array' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:210:1: note: (1) entry to 'string_array_concat' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:214:8: note: (2) following 'false' branch (when 'items' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:214:8: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:218:26: note: (4) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:219:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:219:14: note: (6) calling 'string_array_add_value' from 'string_array_concat' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:171:1: note: (7) entry to 'string_array_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:173:12: note: (8) calling 'string_array_add_value_safe' from 'string_array_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:144:1: note: (9) entry to 'string_array_add_value_safe' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:155:13: note: (10) calling 'string_array_count' from 'string_array_add_value_safe' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:108:1: note: (11) entry to 'string_array_count' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:112:26: note: (12) state of 'INIT_VAL(to_11(D))': 'start' -> 'assumed-non-null' (NULL origin) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:155:13: note: (13) returning to 'string_array_add_value_safe' from 'string_array_count' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:156:13: note: (14) calling 'string_array_resize' from 'string_array_add_value_safe' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:67:1: note: (15) entry to 'string_array_resize' <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:46:14: note: (16) deallocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:81:19: note: in expansion of macro 'realloc_array' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:82:8: note: (17) following 'true' branch (when 'reallocated' is NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:83:9: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:83:9: note: (19) calling 'string_array_free' from 'string_array_resize' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:92:1: note: (20) entry to 'string_array_free' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:96:8: note: (21) following 'false' branch (when 'array' is non-NULL)... <--[gcc]
cc1: note: (22) ...to here
cc1: note: (23) calling 'string_array_free' from 'string_array_free'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:92:1: note: (24) entry to 'string_array_free' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:100:22: note: (25) use after 'reallocarray' of 'array + i * 8'; deallocated at (16) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_del_value': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: warning: use of NULL '*array' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:183:8: note: (1) following 'false' branch (when 'array' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:187:13: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:188:19: note: (3) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:25: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:12: note: (5) following 'true' branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:190:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:188:19: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: note: (9) '*array' is NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: note: (10) argument 1 ('*<unknown>') NULL where non-null expected <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:23: <--[gcc]
/usr/include/string.h:171:12: note: argument 1 of 'strcmp' must be non-null <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c: In function 'textfile_read_content': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (10) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (11) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (8) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (9) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (8) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (9) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (12) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (13) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (10) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (11) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (10) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (11) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (14) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (14) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (16) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (17) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (16) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (17) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c: In function 'textfile_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of FILE 'fopen(filepath, "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/errno_t.h:24, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:29: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:166:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (9) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (10) 'fopen(filepath, "w")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'fopen(filepath, "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:166:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (9) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (10) 'fopen(filepath, "w")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of FILE 'fopen(filepath, "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:172:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:173:8: note: (9) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:174:15: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (11) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (12) 'fopen(filepath, "w")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'fopen(filepath, "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:172:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:173:8: note: (9) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:174:15: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (11) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (12) 'fopen(filepath, "w")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c: In function 'textfile_read_content': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (10) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (11) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (8) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (9) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:43:11: note: (8) if 'fseek' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (9) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (12) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (13) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (10) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (11) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (10) if 'ftell' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (11) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (14) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (14) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of FILE 'fopen(filepath, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was opened at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: warning: leak of 'fopen(filepath, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:93:1: note: (1) entry to 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:99:12: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (3) assuming 'fopen(filepath, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:100:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:104:12: note: (6) calling 'textfile_read_content' from 'textfile_read' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (7) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (15) 'fopen(filepath, "r")' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (16) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (17) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:56:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: warning: leak of 'file' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:108:1: note: (1) entry to 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:119:8: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:123:12: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (5) assuming 'file' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:124:8: note: (6) following 'false' branch (when 'file' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:130:12: note: (8) calling 'textfile_read_content' from 'textfile_read_dirfd' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:33:1: note: (9) entry to 'textfile_read_content' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:44:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:49:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:50:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:29: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:55:8: note: (14) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (16) if 'rewind' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:61:5: note: (17) 'file' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c: In function 'textfile_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of FILE 'fopen(filepath, "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/errno_t.h:24, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:29: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:166:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (9) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (10) 'fopen(filepath, "w")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'fopen(filepath, "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:166:15: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (9) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (10) 'fopen(filepath, "w")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:167:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of FILE 'fopen(filepath, "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:172:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:173:8: note: (9) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:174:15: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (11) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (12) 'fopen(filepath, "w")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'fopen(filepath, "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:144:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:149:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:155:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (4) assuming 'fopen(filepath, "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:156:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:163:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:165:8: note: (7) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:172:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:173:8: note: (9) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:174:15: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (11) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (12) 'fopen(filepath, "w")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/textfile.c:175:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_free.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:100:22: warning: use after 'reallocarray' of 'array' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:171:1: note: (1) entry to 'string_array_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:173:12: note: (2) calling 'string_array_add_value_safe' from 'string_array_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:144:1: note: (3) entry to 'string_array_add_value_safe' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:155:13: note: (4) inlined call to 'string_array_count' from 'string_array_add_value_safe' <--[gcc]
In function 'string_array_count',
    inlined from 'string_array_add_value_safe' at util/string_array.c:155:13:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:112:26: note: (5) state of 'INIT_VAL(array_4(D))': 'start' -> 'assumed-non-null' (NULL origin) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_free.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:156:13: note: (6) calling 'string_array_resize' from 'string_array_add_value_safe' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:67:1: note: (7) entry to 'string_array_resize' <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:46:14: note: (8) deallocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:81:19: note: in expansion of macro 'realloc_array' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:82:8: note: (9) following 'true' branch (when 'reallocated' is NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:83:9: note: (10) inlined call to 'string_array_free' from 'string_array_resize' <--[gcc]
In function 'string_array_free',
    inlined from 'string_array_resize' at util/string_array.c:83:9:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:96:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:96:8: note: (12) following 'false' branch (when 'array' is non-NULL)... <--[gcc]
cc1: note: (13) ...to here
cc1: note: (14) calling 'string_array_free' from 'string_array_resize'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_free.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:92:1: note: (15) entry to 'string_array_free' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:100:22: note: (16) use after 'reallocarray' of 'array + i * 8'; deallocated at (8) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c: In function 'string_array_del_value': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: warning: use of NULL '*array' where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:183:8: note: (1) following 'false' branch (when 'array' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:183:8: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:188:19: note: (3) following 'true' branch (when 'i < count')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:25: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:12: note: (5) following 'true' branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:190:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:188:19: note: (7) following 'true' branch (when 'i < count')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: note: (9) '*array' is NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:189:13: note: (10) argument 1 ('*<unknown>') NULL where non-null expected <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string_array.c:23: <--[gcc]
/usr/include/string.h:171:12: note: argument 1 of 'strcmp' must be non-null <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c: In function 'string_explode_add_value': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: warning: leak of 'token' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:156:1: note: (1) entry to 'string_explode_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:164:11: note: (2) calling 'string_explode_get_token' from 'string_explode_add_value' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:99:1: note: (3) entry to 'string_explode_get_token' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:107:13: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:108:8: note: (5) assuming 'token' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:108:8: note: (6) following 'false' branch (when 'token' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:112:15: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:112:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:128:22: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:128:15: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:138:15: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:164:11: note: (12) returning to 'string_explode_add_value' from 'string_explode_get_token' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:165:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:170:15: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:170:8: note: (15) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (17) if 'string_array_add_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/string.c:174:13: note: (18) 'token' leaks here; was allocated at (4) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:31: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c: In function 'file_get_parent_directory': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'file_get_parent_directory(path)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:454:1: note: (1) entry to 'file_copy' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:469:11: note: (2) calling 'file_make_path' from 'file_copy' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:321:1: note: (3) entry to 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:327:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (6) calling 'file_get_parent_directory' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:273:1: note: (7) entry to 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:280:8: note: (8) following 'false' branch (when 'filepath' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:285:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:286:8: note: (10) following 'false' branch (when 'copy' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:293:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:294:8: note: (12) following 'false' branch (when 'dir' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:299:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:299:11: note: (14) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:300:8: note: (15) assuming 'out' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:300:8: note: (16) following 'false' branch (when 'out' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:307:1: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (18) following 'false' branch (when 'ret == 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (20) returning to 'file_make_path' from 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:332:8: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:333:15: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:333:15: note: (23) calling 'file_make_path' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:321:1: note: (24) entry to 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:327:8: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (27) calling 'file_get_parent_directory' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:273:1: note: (28) entry to 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:280:8: note: (29) following 'false' branch (when 'filepath' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:285:12: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (31) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (33) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (34) 'file_get_parent_directory(path)' leaks here; was allocated at (14) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c: In function 'file_copy.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(source, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/errno_t.h:24, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:29: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(source, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was allocated at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(source, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(source, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was allocated at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_process_operators': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: note: (10) if 'string_array_copy' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: note: (11) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: note: (12) if 'regcomp' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: note: (13) 'output' leaks here; was allocated at (4) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: note: (14) if 'string_array_free' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: note: (14) if 'regexec' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:70: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (16) calling 'template_process_matches' from 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:358:1: note: (17) entry to 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:375:10: note: (18) calling 'template_match_get_operator' from 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:81:1: note: (19) entry to 'template_match_get_operator' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:99:34: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:100:15: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:375:10: note: (22) returning to 'template_process_matches' from 'template_match_get_operator' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (23) returning to 'template_process_operators' from 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:459:12: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (26) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (27) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: warning: leak of 'strdup("# Generated by authselect\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\012# You can stop authselect from managing your configuration by calling \'authselect opt-out\'.\012# See authselect(8) for more details.\012\012")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:668:1: note: (1) entry to 'template_write' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:676:16: note: (2) inlined call to 'template_generate_preamble' from 'template_write' <--[gcc]
In function 'template_generate_preamble',
    inlined from 'template_write' at util/template.c:676:16:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:559:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:677:8: note: (4) following 'false' branch (when 'content' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (6) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (7) 'strdup("# Generated by authselect\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\012# You can stop authselect from managing your configuration by calling \'authselect opt-out\'.\012# See authselect(8) for more details.\012\012")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:668:1: note: (1) entry to 'template_write' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:676:16: note: (2) inlined call to 'template_generate_preamble' from 'template_write' <--[gcc]
In function 'template_generate_preamble',
    inlined from 'template_write' at util/template.c:676:16:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:559:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:677:8: note: (4) following 'true' branch (when 'content' is NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (6) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (7) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (9) if 'textfile_write' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (10) 'output' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c: In function 'evaluator_get_feature.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (2) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (4) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (5) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:487:19: note: (8) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (9) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (39) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (40) '<unknown>' leaks here; was allocated at (8) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: warning: leak of 'evaluator' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:518:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (3) assuming 'evaluator' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (4) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (6) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (7) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (39) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (40) 'evaluator' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: warning: leak of 'evaluator' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:518:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (3) assuming 'evaluator' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (4) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (6) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (7) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:188:8: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (41) if 'string_array_has_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (42) 'evaluator' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_process_operators': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: note: (10) if 'string_array_copy' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:441:21: note: (11) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: note: (12) if 'regcomp' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:448:13: note: (13) 'output' leaks here; was allocated at (4) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:28: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'true' branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/gettext.h:25, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:73:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:450:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: note: (14) if 'string_array_free' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:451:9: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: note: (14) if 'regexec' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:21: note: (15) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:514:1: note: (1) entry to 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:521:8: note: (2) following 'false' branch (when 'template' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:525:14: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (5) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:526:8: note: (6) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:530:11: note: (8) calling 'template_process_operators' from 'template_generate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:424:1: note: (9) entry to 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:442:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:446:16: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (12) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:449:8: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:456:70: note: (14) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (16) calling 'template_process_matches' from 'template_process_operators' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:358:1: note: (17) entry to 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:375:10: note: (18) calling 'template_match_get_operator' from 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:81:1: note: (19) entry to 'template_match_get_operator' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:99:34: note: (20) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:100:15: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:375:10: note: (22) returning to 'template_process_matches' from 'template_match_get_operator' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:457:15: note: (23) returning to 'template_process_operators' from 'template_process_matches' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:459:12: note: (24) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (26) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (27) 'output' leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:460:13: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: warning: leak of 'strdup("# Generated by authselect\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\012# You can stop authselect from managing your configuration by calling \'authselect opt-out\'.\012# See authselect(8) for more details.\012\012")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:668:1: note: (1) entry to 'template_write' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:676:16: note: (2) inlined call to 'template_generate_preamble' from 'template_write' <--[gcc]
In function 'template_generate_preamble',
    inlined from 'template_write' at util/template.c:676:16:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:559:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:677:8: note: (4) following 'false' branch (when 'content' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (6) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:680:18: note: (7) 'strdup("# Generated by authselect\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\012# You can stop authselect from managing your configuration by calling \'authselect opt-out\'.\012# See authselect(8) for more details.\012\012")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: warning: leak of 'output' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:668:1: note: (1) entry to 'template_write' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:676:16: note: (2) inlined call to 'template_generate_preamble' from 'template_write' <--[gcc]
In function 'template_generate_preamble',
    inlined from 'template_write' at util/template.c:676:16:
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:559:12: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c: In function 'template_write': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:677:8: note: (4) following 'true' branch (when 'content' is NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (6) assuming 'output' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:684:8: note: (7) following 'false' branch (when 'output' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (9) if 'textfile_write' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/template.c:688:11: note: (10) 'output' leaks here; was allocated at (3) <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:31: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c: In function 'file_get_parent_directory': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of 'file_get_parent_directory(path)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:454:1: note: (1) entry to 'file_copy' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:469:11: note: (2) calling 'file_make_path' from 'file_copy' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:321:1: note: (3) entry to 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:327:8: note: (4) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (6) calling 'file_get_parent_directory' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:273:1: note: (7) entry to 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:280:8: note: (8) following 'false' branch (when 'filepath' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:285:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:286:8: note: (10) following 'false' branch (when 'copy' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:293:11: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:294:8: note: (12) following 'false' branch (when 'dir' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:299:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:299:11: note: (14) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:300:8: note: (15) assuming 'out' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:300:8: note: (16) following 'false' branch (when 'out' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:307:1: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (18) following 'false' branch (when 'ret == 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (20) returning to 'file_make_path' from 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:332:8: note: (21) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:333:15: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:333:15: note: (23) calling 'file_make_path' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:321:1: note: (24) entry to 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:327:8: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:331:14: note: (27) calling 'file_get_parent_directory' from 'file_make_path' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:273:1: note: (28) entry to 'file_get_parent_directory' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:280:8: note: (29) following 'false' branch (when 'filepath' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:285:12: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:312:8: note: (31) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (33) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (34) 'file_get_parent_directory(path)' leaks here; was allocated at (14) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:313:9: note: in expansion of macro 'ERROR' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c: In function 'file_copy.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(source, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/errno_t.h:24, <--[gcc]
                 from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:29: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(source, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:522:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:523:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:524:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was allocated at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of FILE 'fopen(source, "r")' [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) opened here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was opened at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(source, "r")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:482:15: note: (3) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (4) assuming 'fopen(source, "r")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (5) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (7) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(source, "r")' leaks here; was allocated at (3) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: warning: leak of 'fopen(format("%s/%s", destdir,  destname), "w")' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:475:8: note: (1) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:480:15: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:483:8: note: (3) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:488:11: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:489:8: note: (5) following 'false' branch (when 'ret != -1')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:494:13: note: (7) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (8) assuming 'fopen(format("%s/%s", destdir,  destname), "w")' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:495:8: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:529:8: note: (11) following 'true' branch (when 'ret != 0')... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:530:15: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:68:5: note: (13) if 'debug' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:531:9: note: in expansion of macro 'WARN' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/file.c:521:40: note: (14) 'fopen(format("%s/%s", destdir,  destname), "w")' leaks here; was allocated at (7) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c: In function 'evaluator_get_feature.part.0': <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: warning: leak of '<unknown>' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (2) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (4) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (5) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (6) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:487:19: note: (8) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (9) assuming '<unknown>' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (39) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (40) '<unknown>' leaks here; was allocated at (8) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: warning: leak of 'evaluator' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:30: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:518:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (3) assuming 'evaluator' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (4) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (6) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (7) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (39) if 'format' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:187:20: note: (40) 'evaluator' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: warning: leak of 'evaluator' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:513:9: note: (1) entry to 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:39:14: note: (2) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:518:17: note: in expansion of macro 'malloc_zero' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (3) assuming 'evaluator' is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:519:8: note: (4) following 'false' branch (when 'evaluator' is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (6) calling 'evaluator_set_expression' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:473:16: note: (7) entry to 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:476:8: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:480:22: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (10) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:488:8: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:523:11: note: (12) returning to 'evaluate' from 'evaluator_set_expression' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:524:8: note: (13) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:528:11: note: (15) calling 'evaluator_evaluate' from 'evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:500:16: note: (16) entry to 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:504:8: note: (17) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:508:24: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:509:12: note: (19) calling 'evaluator_state_machine' from 'evaluator_evaluate' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:386:16: note: (20) entry to 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:391:8: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:397:10: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:404:12: note: (23) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:408:12: note: (25) following 'true' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:409:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:410:13: note: (27) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:411:13: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:412:23: note: (29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:201:16: note: (30) entry to 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:213:5: note: (31) following 'case 2:' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:214:5: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:215:16: note: (33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (34) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:182:8: note: (35) following 'false' branch... <--[gcc]
cc1: note: (36) ...to here
cc1: note: (37) calling 'evaluator_get_feature' from 'evaluator_get_feature'
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:174:16: note: (38) entry to 'evaluator_get_feature' <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:188:8: note: (39) following 'false' branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (40) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (41) if 'string_array_has_value' throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/lib/util/evaluator.c:192:16: note: (42) 'evaluator' leaks here; was allocated at (2) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c: In function ‘activate’: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:145:16: note: (1) entry to ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (2) calling ‘parse_profile_options’ from ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
In file included from /builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:32: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (10) returning to ‘activate’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:170:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: note: (13) if ‘authselect_profile’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: note: (14) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:176:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:145:16: note: (1) entry to ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (2) calling ‘parse_profile_options’ from ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (10) returning to ‘activate’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:170:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:175:8: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:176:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (15) if ‘debug’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:176:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (16) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:176:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:182:20: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:145:16: note: (1) entry to ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (2) calling ‘parse_profile_options’ from ‘activate’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:169:11: note: (10) returning to ‘activate’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:170:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:174:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:175:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:182:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:182:20: note: (15) if ‘authselect_profile_requirements’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:182:20: note: (16) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c: In function ‘requirements’: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:507:16: note: (1) entry to ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (2) calling ‘parse_profile_options’ from ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (10) returning to ‘requirements’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:516:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: note: (13) if ‘authselect_profile’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: note: (14) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:522:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:507:16: note: (1) entry to ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (2) calling ‘parse_profile_options’ from ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (10) returning to ‘requirements’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:516:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:521:8: note: (13) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:522:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (15) if ‘debug’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:522:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:72:5: note: (16) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:522:9: note: in expansion of macro ‘ERROR’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:528:20: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:507:16: note: (1) entry to ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (2) calling ‘parse_profile_options’ from ‘requirements’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:515:11: note: (10) returning to ‘requirements’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:516:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:520:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:521:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:528:20: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:528:20: note: (15) if ‘authselect_profile_requirements’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:528:20: note: (16) ‘features’ leaks here; was allocated at (6) <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c: In function ‘test’: <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:605:11: warning: leak of ‘features’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:549:16: note: (1) entry to ‘test’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:600:11: note: (2) calling ‘parse_profile_options’ from ‘test’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:62:1: note: (3) entry to ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:78:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:55: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:22: note: in definition of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/common/common.h:42:14: note: (6) allocated here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:83:16: note: in expansion of macro ‘malloc_zero_array’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (7) assuming ‘features’ is non-NULL <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (8) following ‘false’ branch (when ‘features’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:84:8: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:600:11: note: (10) returning to ‘test’ from ‘parse_profile_options’ <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:601:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:605:11: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:605:11: note: (13) if ‘authselect_files’ throws an exception... <--[gcc]
/builddir/build/BUILD/authselect-1.7.0-build/authselect-1.7.0/src/cli/main.c:605:11: note: (14) ‘features’ leaks here; was allocated at (6) <--[gcc]
