gpgme-1.24.3-6.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/gpgme-config:2:28: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-88): [#def2]
/usr/bin/gpgme-config:2:36: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/bin/gpgme-config.x86_64:41:1: warning[SC2034]: libs_pthread appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/bin/gpgme-config.x86_64:128:37: warning[SC2154]: assuan_cflags is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/usr/bin/gpgme-config.x86_64:164:35: warning[SC2154]: assuan_libs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def6]
/usr/bin/gpgme-config.x86_64:164:48: warning[SC2154]: gpg_error_libs is referenced but not assigned.
Error: CPPCHECK_WARNING (CWE-457): [#def7]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:873: warning[uninitvar]: Uninitialized variable: buff
Error: CPPCHECK_WARNING (CWE-476): [#def8]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:1902: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def9]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:1903: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: COMPILER_WARNING (CWE-457): [#def10]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4196:10: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_error_t_p_assign’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:49246:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def11]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_seek’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4394:14: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4355:9: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def12]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4954:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4935:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def13]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror_r’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5009:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:4966:15: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def14]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strsource’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5050:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5031:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def15]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_code_to_errno’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5111:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5092:20: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def16]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_make_from_errno’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5196:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:5170:22: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def17]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_key_sig_status_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:9000:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:8976:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def18]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_invalid_key_reason_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:13272:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:13248:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def19]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_err_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:14948:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:14924:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def20]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_op_err_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:15015:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:14991:17: note: ‘arg2’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def21]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:16592: error[legacyUninitvar]: Uninitialized variable: arg2
Error: COMPILER_WARNING (CWE-457): [#def22]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_new_from_filepart’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:17004:14: warning[-Wmaybe-uninitialized]: ‘arg4’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:16940:9: note: ‘arg4’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def23]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_recipient_status_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:21930:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:21906:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def24]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_status_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:27621:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:27597:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def25]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_validity_reason_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:28320:39: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:28296:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def26]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_import_status_result_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:31926:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:31902:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def27]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys_start’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:33897:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:33825:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def28]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:33983:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:33911:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def29]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext_start’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:34776:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:34571:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def30]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:35092:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:34887:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def31]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_keylist_ext_start’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:40428:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:40342:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def32]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn_start’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:41997:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:41872:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def33]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:42142:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:42017:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def34]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_op_assuan_result_err_set’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:48533:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/gpgme_wrap.c:48509:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-477): [#def35]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/helpers.c: scope_hint: In function ‘_gpg_stash_callback_exception’
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
/usr/include/python3.14/Python.h:123: included_from: Included from here.
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/helpers.c:30: included_from: Included from here.
/usr/include/python3.14/weakrefobject.h:30:44: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def36]
gpgme-1.24.3/build-qt6/lang/python/python3.14-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
Error: CPPCHECK_WARNING (CWE-457): [#def37]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:873: warning[uninitvar]: Uninitialized variable: buff
Error: CPPCHECK_WARNING (CWE-476): [#def38]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:1902: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def39]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:1903: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: COMPILER_WARNING (CWE-457): [#def40]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4196:10: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_error_t_p_assign’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:49246:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def41]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_seek’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4394:14: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4355:9: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def42]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4954:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4935:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def43]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror_r’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5009:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:4966:15: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def44]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strsource’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5050:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5031:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def45]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_code_to_errno’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5111:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5092:20: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def46]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_make_from_errno’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5196:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:5170:22: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def47]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_key_sig_status_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:9000:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:8976:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def48]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_invalid_key_reason_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:13272:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:13248:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def49]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_err_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:14948:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:14924:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def50]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_op_err_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:15015:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:14991:17: note: ‘arg2’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def51]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:16592: error[legacyUninitvar]: Uninitialized variable: arg2
Error: COMPILER_WARNING (CWE-457): [#def52]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_new_from_filepart’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:17004:14: warning[-Wmaybe-uninitialized]: ‘arg4’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:16940:9: note: ‘arg4’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def53]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_recipient_status_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:21930:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:21906:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def54]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_status_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:27621:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:27597:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def55]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_validity_reason_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:28320:39: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:28296:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def56]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_import_status_result_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:31926:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:31902:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def57]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys_start’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:33897:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:33825:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def58]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:33983:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:33911:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def59]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext_start’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:34776:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:34571:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def60]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:35092:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:34887:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def61]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_keylist_ext_start’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:40428:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:40342:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def62]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn_start’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:41997:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:41872:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def63]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:42142:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:42017:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def64]
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_op_assuan_result_err_set’
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:48533:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.3/build/lang/python/python3.14-gpg/gpgme_wrap.c:48509:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-477): [#def65]
gpgme-1.24.3/build/lang/python/python3.14-gpg/helpers.c: scope_hint: In function ‘_gpg_stash_callback_exception’
gpgme-1.24.3/build/lang/python/python3.14-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
/usr/include/python3.14/Python.h:123: included_from: Included from here.
gpgme-1.24.3/build/lang/python/python3.14-gpg/helpers.c:30: included_from: Included from here.
/usr/include/python3.14/weakrefobject.h:30:44: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def66]
gpgme-1.24.3/build/lang/python/python3.14-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
gpgme-1.24.3/doc/mkdefsinc.c:199:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opt_date’
gpgme-1.24.3/doc/mkdefsinc.c:142:1: enter_function: entry to ‘main’
gpgme-1.24.3/doc/mkdefsinc.c:155:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/doc/mkdefsinc.c:158:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/doc/mkdefsinc.c:163:17: branch_false: ...to here
gpgme-1.24.3/doc/mkdefsinc.c:163:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/doc/mkdefsinc.c:174:17: branch_false: ...to here
gpgme-1.24.3/doc/mkdefsinc.c:198:26: call_function: calling ‘xstrdup’ from ‘main’
gpgme-1.24.3/doc/mkdefsinc.c:198:26: return_function: returning to ‘main’ from ‘xstrdup’
gpgme-1.24.3/doc/mkdefsinc.c:155:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/doc/mkdefsinc.c:158:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/doc/mkdefsinc.c:163:17: branch_false: ...to here
gpgme-1.24.3/doc/mkdefsinc.c:163:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/doc/mkdefsinc.c:174:17: branch_false: ...to here
gpgme-1.24.3/doc/mkdefsinc.c:198:26: call_function: calling ‘xstrdup’ from ‘main’
gpgme-1.24.3/doc/mkdefsinc.c:198:26: return_function: returning to ‘main’ from ‘xstrdup’
gpgme-1.24.3/doc/mkdefsinc.c:199:23: danger: ‘opt_date’ leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-457): [#def68]
gpgme-1.24.3/doc/mkdefsinc.c:289: warning[uninitvar]: Uninitialized variable: monthoff
Error: COMPILER_WARNING (CWE-477): [#def69]
gpgme-1.24.3/lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp: scope_hint: In function 'QGpgME::_detail::ThreadedJobMixin<QGpgME::AddExistingSubkeyJob>::result_type add_subkey(GpgME::Context*, const GpgME::Key&, const GpgME::Subkey&)'
gpgme-1.24.3/lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp:67:58: warning[-Wdeprecated-declarations]: 'static QDateTime QDateTime::fromSecsSinceEpoch(qint64, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead of time-spec, offset
/usr/include/qt6/QtCore/QDateTime:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp:42: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:491:22: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def70]
gpgme-1.24.3/lang/qt/src/qgpgmenewcryptoconfig.cpp: scope_hint: In member function 'virtual void QGpgMENewCryptoConfig::sync(bool)'
gpgme-1.24.3/lang/qt/src/qgpgmenewcryptoconfig.cpp:130:77: warning[-Wdeprecated-declarations]: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QHash<QString, std::shared_ptr<QGpgMENewCryptoConfigComponent> >; typename std::add_const<_Tp>::type = const QHash<QString, std::shared_ptr<QGpgMENewCryptoConfigComponent> >]' is deprecated: Use std::as_const() instead.
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:55: included_from: Included from here.
/usr/include/qt6/QtCore/qnamespace.h:12: included_from: Included from here.
/usr/include/qt6/QtCore/qbytearray.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qurl.h:9: included_from: Included from here.
/usr/include/qt6/QtCore/QUrl:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/src/cryptoconfig.h:43: included_from: Included from here.
gpgme-1.24.3/lang/qt/src/qgpgmenewcryptoconfig.h:39: included_from: Included from here.
gpgme-1.24.3/lang/qt/src/qgpgmenewcryptoconfig.cpp:39: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:40:45: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def71]
gpgme-1.24.3/lang/qt/tests/run-decryptverifyjob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-decryptverifyjob.cpp:117:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/QFile:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-decryptverifyjob.cpp:44: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def72]
gpgme-1.24.3/lang/qt/tests/run-encryptarchivejob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-encryptarchivejob.cpp:143:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/qdir.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/QDir:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-encryptarchivejob.cpp:45: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def73]
gpgme-1.24.3/lang/qt/tests/run-encryptjob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-encryptjob.cpp:121:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/QFile:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-encryptjob.cpp:45: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def74]
gpgme-1.24.3/lang/qt/tests/run-signarchivejob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-signarchivejob.cpp:137:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/qdir.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/QDir:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-signarchivejob.cpp:44: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def75]
gpgme-1.24.3/lang/qt/tests/run-signjob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-signjob.cpp:124:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/QFile:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-signjob.cpp:44: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def76]
gpgme-1.24.3/lang/qt/tests/run-verifyopaquejob.cpp: scope_hint: In function ‘int main(int, char**)’
gpgme-1.24.3/lang/qt/tests/run-verifyopaquejob.cpp:116:21: warning[-Wunused-result]: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’
/usr/include/qt6/QtCore/QFile:1: included_from: Included from here.
gpgme-1.24.3/lang/qt/tests/run-verifyopaquejob.cpp:44: included_from: Included from here.
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def77]
gpgme-1.24.3/src/argparse.c:315:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gpgme-1.24.3/src/argparse.c:1391:1: enter_function: entry to ‘show_version’
gpgme-1.24.3/src/argparse.c:1397:3: call_function: calling ‘writestrings’ from ‘show_version’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
gpgme-1.24.3/src/assuan-support.c:289:13: warning[-Wanalyzer-malloc-leak]: leak of 'fd_items'
gpgme-1.24.3/src/assuan-support.c:198:3: branch_true: following 'true' branch (when 'name' is non-NULL)...
gpgme-1.24.3/src/assuan-support.c:207:6: branch_true: ...to here
gpgme-1.24.3/src/assuan-support.c:214:14: acquire_memory: allocated here
gpgme-1.24.3/src/assuan-support.c:215:6: branch_false: following 'false' branch (when 'fd_items' is non-NULL)...
gpgme-1.24.3/src/assuan-support.c:218:6: branch_false: ...to here
gpgme-1.24.3/src/assuan-support.c:227:6: branch_false: following 'false' branch (when 'fd_in == -1')...
gpgme-1.24.3/src/assuan-support.c:233:6: branch_false: ...to here
gpgme-1.24.3/src/assuan-support.c:233:6: branch_false: following 'false' branch (when 'fd_out == -1')...
gpgme-1.24.3/src/assuan-support.c:239:11: branch_false: ...to here
gpgme-1.24.3/src/assuan-support.c:289:13: danger: 'fd_items' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def79]
gpgme-1.24.3/src/conversion.c:75:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
gpgme-1.24.3/src/conversion.c:95:1: enter_function: entry to '_gpgme_strconcat'
gpgme-1.24.3/src/conversion.c:100:6: branch_false: following 'false' branch (when 's1' is non-NULL)...
gpgme-1.24.3/src/conversion.c:104:7: branch_false: ...to here
gpgme-1.24.3/src/conversion.c:104:7: acquire_resource: 'va_start' called here
gpgme-1.24.3/src/conversion.c:105:16: call_function: calling 'do_strconcat' from '_gpgme_strconcat'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
gpgme-1.24.3/src/data-compat.c:63:9: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
gpgme-1.24.3/src/data-compat.c:54:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-compat.c:57:6: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:57:6: branch_true: following 'true' branch (when 'fname' is non-NULL)...
gpgme-1.24.3/src/data-compat.c:58:14: branch_true: ...to here
gpgme-1.24.3/src/data-compat.c:58:14: acquire_resource: opened here
gpgme-1.24.3/src/data-compat.c:59:6: branch_false: following 'false' branch (when 'stream' is non-NULL)...
gpgme-1.24.3/src/data-compat.c:63:9: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:63:9: danger: 'stream' leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
gpgme-1.24.3/src/data-compat.c:63:9: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
gpgme-1.24.3/src/data-compat.c:54:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-compat.c:57:6: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:57:6: branch_true: following 'true' branch (when 'fname' is non-NULL)...
gpgme-1.24.3/src/data-compat.c:58:14: branch_true: ...to here
gpgme-1.24.3/src/data-compat.c:58:14: acquire_memory: allocated here
gpgme-1.24.3/src/data-compat.c:59:6: branch_false: following 'false' branch (when 'stream' is non-NULL)...
gpgme-1.24.3/src/data-compat.c:63:9: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:63:9: danger: 'stream' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
gpgme-1.24.3/src/data-compat.c:101:9: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
gpgme-1.24.3/src/data-compat.c:54:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-compat.c:57:6: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:59:6: branch_false: following 'false' branch (when 'stream' is non-NULL)...
gpgme-1.24.3/src/data-compat.c:63:9: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:69:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-compat.c:77:9: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:77:9: acquire_memory: allocated here
gpgme-1.24.3/src/data-compat.c:78:6: branch_false: following 'false' branch (when 'buf' is non-NULL)...
branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:88:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-compat.c:98:6: branch_false: ...to here
gpgme-1.24.3/src/data-compat.c:101:9: danger: 'buf' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def83]
gpgme-1.24.3/src/data-identify.c:453:18: warning[-Wanalyzer-deref-before-check]: check of 'data' for NULL after already dereferencing it
gpgme-1.24.3/src/data-identify.c:316:6: branch_false: following 'false' branch (when 'datalen > 23')...
gpgme-1.24.3/src/data-identify.c:346:3: branch_false: ...to here
gpgme-1.24.3/src/data-identify.c:441:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-identify.c:453:8: branch_false: ...to here
gpgme-1.24.3/src/data-identify.c:453:18: danger: pointer 'data' is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
gpgme-1.24.3/src/data-identify.c:516:7: warning[-Wanalyzer-malloc-leak]: leak of 'sample'
gpgme-1.24.3/src/data-identify.c:509:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-identify.c:513:12: branch_false: ...to here
gpgme-1.24.3/src/data-identify.c:513:12: acquire_memory: allocated here
gpgme-1.24.3/src/data-identify.c:514:6: branch_false: following 'false' branch (when 'sample' is non-NULL)...
gpgme-1.24.3/src/data-identify.c:516:7: branch_false: ...to here
gpgme-1.24.3/src/data-identify.c:516:7: danger: 'sample' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
gpgme-1.24.3/src/data-mem.c:284:3: warning[-Wanalyzer-malloc-leak]: leak of 'str'
gpgme-1.24.3/src/data-mem.c:237:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:245:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:252:3: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:257:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/data-mem.c:259:13: acquire_memory: allocated here
gpgme-1.24.3/src/data-mem.c:260:10: branch_false: following 'false' branch (when 'str' is non-NULL)...
gpgme-1.24.3/src/data-mem.c:267:10: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:284:3: danger: 'str' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
gpgme-1.24.3/src/data-mem.c:287:5: warning[-Wanalyzer-malloc-leak]: leak of 'str'
gpgme-1.24.3/src/data-mem.c:237:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:245:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:252:3: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:257:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/data-mem.c:259:13: acquire_memory: allocated here
gpgme-1.24.3/src/data-mem.c:260:10: branch_false: following 'false' branch (when 'str' is non-NULL)...
gpgme-1.24.3/src/data-mem.c:267:10: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:286:6: branch_true: following 'true' branch (when 'r_len' is non-NULL)...
gpgme-1.24.3/src/data-mem.c:287:5: branch_true: ...to here
gpgme-1.24.3/src/data-mem.c:287:5: danger: 'str' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
gpgme-1.24.3/src/data-mem.c:289:5: warning[-Wanalyzer-malloc-leak]: leak of 'str'
gpgme-1.24.3/src/data-mem.c:237:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:245:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data-mem.c:252:3: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:257:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/data-mem.c:259:13: acquire_memory: allocated here
gpgme-1.24.3/src/data-mem.c:260:10: branch_false: following 'false' branch (when 'str' is non-NULL)...
gpgme-1.24.3/src/data-mem.c:267:10: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:286:6: branch_false: following 'false' branch (when 'r_len' is NULL)...
gpgme-1.24.3/src/data-mem.c:289:5: branch_false: ...to here
gpgme-1.24.3/src/data-mem.c:289:5: danger: 'str' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
gpgme-1.24.3/src/data.c:80:3: warning[-Wanalyzer-malloc-leak]: leak of 'dh'
gpgme-1.24.3/src/data.c:302:1: enter_function: entry to '_gpgme_data_new'
gpgme-1.24.3/src/data.c:307:6: branch_false: following 'false' branch (when 'r_dh' is non-NULL)...
gpgme-1.24.3/src/data.c:310:3: branch_false: ...to here
gpgme-1.24.3/src/data.c:312:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data.c:315:8: branch_false: ...to here
gpgme-1.24.3/src/data.c:315:8: acquire_memory: allocated here
gpgme-1.24.3/src/data.c:316:6: branch_false: following 'false' branch (when 'dh' is non-NULL)...
gpgme-1.24.3/src/data.c:319:3: branch_false: ...to here
gpgme-1.24.3/src/data.c:321:9: call_function: calling 'insert_into_property_table' from '_gpgme_data_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
gpgme-1.24.3/src/data.c:130:3: warning[-Wanalyzer-malloc-leak]: leak of 'dh'
gpgme-1.24.3/src/data.c:302:1: enter_function: entry to '_gpgme_data_new'
gpgme-1.24.3/src/data.c:307:6: branch_false: following 'false' branch (when 'r_dh' is non-NULL)...
gpgme-1.24.3/src/data.c:310:3: branch_false: ...to here
gpgme-1.24.3/src/data.c:312:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/data.c:315:8: branch_false: ...to here
gpgme-1.24.3/src/data.c:315:8: acquire_memory: allocated here
gpgme-1.24.3/src/data.c:316:6: branch_false: following 'false' branch (when 'dh' is non-NULL)...
gpgme-1.24.3/src/data.c:319:3: branch_false: ...to here
gpgme-1.24.3/src/data.c:321:9: call_function: calling 'insert_into_property_table' from '_gpgme_data_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
gpgme-1.24.3/src/data.c:624:14: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*dh.io_buffer_size)'
gpgme-1.24.3/src/data.c:619:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/data.c:621:12: branch_true: ...to here
gpgme-1.24.3/src/data.c:621:10: branch_true: following 'true' branch...
gpgme-1.24.3/src/data.c:623:32: branch_true: ...to here
gpgme-1.24.3/src/data.c:623:32: acquire_memory: allocated here
gpgme-1.24.3/src/data.c:624:14: danger: 'malloc((long unsigned int)*dh.io_buffer_size)' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
gpgme-1.24.3/src/data.c:684:14: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*dh.io_buffer_size)'
gpgme-1.24.3/src/data.c:679:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/data.c:681:12: branch_true: ...to here
gpgme-1.24.3/src/data.c:681:10: branch_true: following 'true' branch...
gpgme-1.24.3/src/data.c:683:33: branch_true: ...to here
gpgme-1.24.3/src/data.c:683:33: acquire_memory: allocated here
gpgme-1.24.3/src/data.c:684:14: danger: 'malloc((long unsigned int)*dh.io_buffer_size)' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def92]
gpgme-1.24.3/src/debug.c:334:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
gpgme-1.24.3/src/debug.c:309:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/debug.c:313:14: branch_false: ...to here
gpgme-1.24.3/src/debug.c:319:3: acquire_resource: 'va_start' called here
gpgme-1.24.3/src/debug.c:333:11: branch_true: following 'true' branch...
gpgme-1.24.3/src/debug.c:334:15: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def93]
gpgme-1.24.3/src/debug.c:336:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
gpgme-1.24.3/src/debug.c:309:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/debug.c:313:14: branch_false: ...to here
gpgme-1.24.3/src/debug.c:319:3: acquire_resource: 'va_start' called here
gpgme-1.24.3/src/debug.c:336:15: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def94]
gpgme-1.24.3/src/debug.c:339:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
gpgme-1.24.3/src/debug.c:309:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/debug.c:313:14: branch_false: ...to here
gpgme-1.24.3/src/debug.c:319:3: acquire_resource: 'va_start' called here
gpgme-1.24.3/src/debug.c:338:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/debug.c:339:16: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def95]
gpgme-1.24.3/src/debug.c:384:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
gpgme-1.24.3/src/debug.c:380:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/debug.c:383:3: branch_false: ...to here
gpgme-1.24.3/src/debug.c:383:3: acquire_resource: 'va_start' called here
gpgme-1.24.3/src/debug.c:384:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
gpgme-1.24.3/src/debug.h:94:3: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1019:10: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:1021:13: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1021:13: call_function: calling 'parse_tofu_user' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
gpgme-1.24.3/src/debug.h:151:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'res'
gpgme-1.24.3/src/posix-io.c:1028:1: enter_function: entry to '_gpgme_io_socket'
gpgme-1.24.3/src/posix-io.c:1035:9: acquire_resource: socket created here
gpgme-1.24.3/src/posix-io.c:1037:10: call_function: calling '_trace_sysres' from '_gpgme_io_socket'
Error: CPPCHECK_WARNING (CWE-457): [#def98]
gpgme-1.24.3/src/decrypt-verify.c:48: warning[uninitvar]: Uninitialized variable: err2
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
gpgme-1.24.3/src/decrypt.c:177:13: warning[-Wanalyzer-malloc-leak]: leak of 'args2'
gpgme-1.24.3/src/decrypt.c:360:1: enter_function: entry to '_gpgme_decrypt_status_handler'
gpgme-1.24.3/src/decrypt.c:374:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/decrypt.c:377:3: branch_false: ...to here
gpgme-1.24.3/src/decrypt.c:461:13: call_function: calling 'parse_status_error' from '_gpgme_decrypt_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
gpgme-1.24.3/src/decrypt.c:295:7: warning[-Wanalyzer-malloc-leak]: leak of 'rec'
gpgme-1.24.3/src/decrypt.c:360:1: enter_function: entry to '_gpgme_decrypt_status_handler'
gpgme-1.24.3/src/decrypt.c:374:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/decrypt.c:377:3: branch_false: ...to here
gpgme-1.24.3/src/decrypt.c:467:13: call_function: calling 'parse_enc_to' from '_gpgme_decrypt_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
gpgme-1.24.3/src/decrypt.c:296:26: warning[-Wanalyzer-malloc-leak]: leak of 'rec'
gpgme-1.24.3/src/decrypt.c:360:1: enter_function: entry to '_gpgme_decrypt_status_handler'
gpgme-1.24.3/src/decrypt.c:374:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/decrypt.c:377:3: branch_false: ...to here
gpgme-1.24.3/src/decrypt.c:467:13: call_function: calling 'parse_enc_to' from '_gpgme_decrypt_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
gpgme-1.24.3/src/decrypt.c:330:13: warning[-Wanalyzer-malloc-leak]: leak of 'args2'
gpgme-1.24.3/src/decrypt.c:360:1: enter_function: entry to '_gpgme_decrypt_status_handler'
gpgme-1.24.3/src/decrypt.c:374:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/decrypt.c:377:3: branch_false: ...to here
gpgme-1.24.3/src/decrypt.c:435:13: call_function: calling 'parse_decryption_info' from '_gpgme_decrypt_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
gpgme-1.24.3/src/engine-assuan.c:249:9: warning[-Wanalyzer-malloc-leak]: leak of 'llass'
gpgme-1.24.3/src/engine-assuan.c:228:11: acquire_memory: allocated here
gpgme-1.24.3/src/engine-assuan.c:229:6: branch_false: following 'false' branch (when 'llass' is non-NULL)...
gpgme-1.24.3/src/engine-assuan.c:232:3: branch_false: ...to here
gpgme-1.24.3/src/engine-assuan.c:249:9: danger: 'llass' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
gpgme-1.24.3/src/engine-g13.c:240:37: warning[-Wanalyzer-malloc-leak]: leak of 'g13'
gpgme-1.24.3/src/engine-g13.c:231:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-g13.c:232:6: branch_false: following 'false' branch (when 'g13' is non-NULL)...
gpgme-1.24.3/src/engine-g13.c:235:3: branch_false: ...to here
gpgme-1.24.3/src/engine-g13.c:240:13: branch_true: following 'true' branch (when 'file_name' is NULL)...
gpgme-1.24.3/src/engine-g13.c:240:37: branch_true: ...to here
gpgme-1.24.3/src/engine-g13.c:240:37: danger: 'g13' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
gpgme-1.24.3/src/engine-g13.c:242:18: warning[-Wanalyzer-malloc-leak]: leak of 'g13'
gpgme-1.24.3/src/engine-g13.c:231:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-g13.c:232:6: branch_false: following 'false' branch (when 'g13' is non-NULL)...
gpgme-1.24.3/src/engine-g13.c:235:3: branch_false: ...to here
gpgme-1.24.3/src/engine-g13.c:242:18: danger: 'g13' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
gpgme-1.24.3/src/engine-g13.c:251:9: warning[-Wanalyzer-malloc-leak]: leak of 'g13'
gpgme-1.24.3/src/engine-g13.c:231:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-g13.c:232:6: branch_false: following 'false' branch (when 'g13' is non-NULL)...
gpgme-1.24.3/src/engine-g13.c:235:3: branch_false: ...to here
gpgme-1.24.3/src/engine-g13.c:251:9: danger: 'g13' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
gpgme-1.24.3/src/engine-gpgconf.c:276:19: warning[-Wanalyzer-malloc-leak]: leak of 'linebuf'
gpgme-1.24.3/src/engine-gpgconf.c:1024:1: enter_function: entry to 'gpgconf_conf_dir'
gpgme-1.24.3/src/engine-gpgconf.c:1031:9: call_function: calling 'gpgconf_read' from 'gpgconf_conf_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
gpgme-1.24.3/src/engine-gpgconf.c:1185:19: warning[-Wanalyzer-malloc-leak]: leak of 'linebuf'
gpgme-1.24.3/src/engine-gpgconf.c:1144:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-gpgconf.c:1148:18: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgconf.c:1162:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-gpgconf.c:1165:15: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgconf.c:1169:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-gpgconf.c:1177:13: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgconf.c:1177:13: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgconf.c:1178:6: branch_false: following 'false' branch (when 'linebuf' is non-NULL)...
branch_false: ...to here
gpgme-1.24.3/src/engine-gpgconf.c:1185:19: danger: 'linebuf' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
gpgme-1.24.3/src/engine-gpgsm.c:833:26: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
gpgme-1.24.3/src/engine-gpgsm.c:833:26: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
gpgme-1.24.3/src/engine-gpgsm.c:838:11: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
gpgme-1.24.3/src/engine-gpgsm.c:838:11: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
gpgme-1.24.3/src/engine-gpgsm.c:844:11: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
gpgme-1.24.3/src/engine-gpgsm.c:844:11: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
gpgme-1.24.3/src/engine-gpgsm.c:852:9: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
gpgme-1.24.3/src/engine-gpgsm.c:852:9: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
gpgme-1.24.3/src/engine-gpgsm.c:856:3: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
gpgme-1.24.3/src/engine-gpgsm.c:856:3: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
gpgme-1.24.3/src/engine-gpgsm.c:860:5: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
gpgme-1.24.3/src/engine-gpgsm.c:860:5: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
gpgme-1.24.3/src/engine-gpgsm.c:862:5: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: branch_false: following 'false' branch (when 'use_armor == 0')...
gpgme-1.24.3/src/engine-gpgsm.c:1626:25: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1626:25: call_function: calling 'map_data_enc' from 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1626:25: return_function: returning to 'gpgsm_export' from 'map_data_enc'
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
gpgme-1.24.3/src/engine-gpgsm.c:862:5: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: branch_false: following 'false' branch (when 'use_armor == 0')...
gpgme-1.24.3/src/engine-gpgsm.c:1733:25: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1733:25: call_function: calling 'map_data_enc' from 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1733:25: return_function: returning to 'gpgsm_export_ext' from 'map_data_enc'
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: call_function: calling 'gpgsm_set_fd' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
gpgme-1.24.3/src/engine-gpgsm.c:895:11: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
gpgme-1.24.3/src/engine-gpgsm.c:1590:1: enter_function: entry to 'gpgsm_export'
gpgme-1.24.3/src/engine-gpgsm.c:1609:9: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1610:6: branch_false: following 'false' branch (when 'cmd' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1613:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1625:9: branch_false: following 'false' branch (when 'use_armor == 0')...
gpgme-1.24.3/src/engine-gpgsm.c:1626:25: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1626:25: call_function: calling 'map_data_enc' from 'gpgsm_export'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
gpgme-1.24.3/src/engine-gpgsm.c:895:11: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-gpgsm.c:1640:1: enter_function: entry to 'gpgsm_export_ext'
gpgme-1.24.3/src/engine-gpgsm.c:1678:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-gpgsm.c:1679:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-gpgsm.c:1682:3: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1732:9: branch_false: following 'false' branch (when 'use_armor == 0')...
gpgme-1.24.3/src/engine-gpgsm.c:1733:25: branch_false: ...to here
gpgme-1.24.3/src/engine-gpgsm.c:1733:25: call_function: calling 'map_data_enc' from 'gpgsm_export_ext'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
gpgme-1.24.3/src/engine-uiserver.c:482:9: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-uiserver.c:1019:1: enter_function: entry to 'set_recipients'
gpgme-1.24.3/src/engine-uiserver.c:1028:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-uiserver.c:1029:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-uiserver.c:1031:3: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1032:13: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine-uiserver.c:1038:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-uiserver.c:1045:10: branch_false: following 'false' branch (when 'linelen >= newlen')...
gpgme-1.24.3/src/engine-uiserver.c:1058:15: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1060:13: call_function: calling 'uiserver_assuan_simple_command' from 'set_recipients'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
gpgme-1.24.3/src/engine-uiserver.c:488:13: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-uiserver.c:1019:1: enter_function: entry to 'set_recipients'
gpgme-1.24.3/src/engine-uiserver.c:1028:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-uiserver.c:1029:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-uiserver.c:1031:3: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1032:13: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine-uiserver.c:1038:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-uiserver.c:1045:10: branch_false: following 'false' branch (when 'linelen >= newlen')...
gpgme-1.24.3/src/engine-uiserver.c:1058:15: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1060:13: call_function: calling 'uiserver_assuan_simple_command' from 'set_recipients'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
gpgme-1.24.3/src/engine-uiserver.c:515:15: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-uiserver.c:1019:1: enter_function: entry to 'set_recipients'
gpgme-1.24.3/src/engine-uiserver.c:1028:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-uiserver.c:1029:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-uiserver.c:1031:3: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1032:13: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine-uiserver.c:1038:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-uiserver.c:1045:10: branch_false: following 'false' branch (when 'linelen >= newlen')...
gpgme-1.24.3/src/engine-uiserver.c:1058:15: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1060:13: call_function: calling 'uiserver_assuan_simple_command' from 'set_recipients'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
gpgme-1.24.3/src/engine-uiserver.c:520:21: warning[-Wanalyzer-malloc-leak]: leak of 'line'
gpgme-1.24.3/src/engine-uiserver.c:1019:1: enter_function: entry to 'set_recipients'
gpgme-1.24.3/src/engine-uiserver.c:1028:10: acquire_memory: allocated here
gpgme-1.24.3/src/engine-uiserver.c:1029:6: branch_false: following 'false' branch (when 'line' is non-NULL)...
gpgme-1.24.3/src/engine-uiserver.c:1031:3: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1032:13: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine-uiserver.c:1038:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine-uiserver.c:1045:10: branch_false: following 'false' branch (when 'linelen >= newlen')...
gpgme-1.24.3/src/engine-uiserver.c:1058:15: branch_false: ...to here
gpgme-1.24.3/src/engine-uiserver.c:1060:13: call_function: calling 'uiserver_assuan_simple_command' from 'set_recipients'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
gpgme-1.24.3/src/engine.c:110:12: warning[-Wanalyzer-malloc-leak]: leak of 'new_home_dir'
gpgme-1.24.3/src/engine.c:398:1: enter_function: entry to '_gpgme_set_engine_info'
gpgme-1.24.3/src/engine.c:409:10: branch_true: following 'true' branch (when 'info' is non-NULL)...
gpgme-1.24.3/src/engine.c:409:18: branch_true: ...to here
gpgme-1.24.3/src/engine.c:412:6: branch_false: following 'false' branch (when 'info' is non-NULL)...
gpgme-1.24.3/src/engine.c:416:6: branch_false: ...to here
gpgme-1.24.3/src/engine.c:424:6: branch_false: following 'false' branch (when 'new_file_name' is non-NULL)...
gpgme-1.24.3/src/engine.c:427:6: branch_false: ...to here
gpgme-1.24.3/src/engine.c:427:6: branch_true: following 'true' branch (when 'home_dir' is non-NULL)...
gpgme-1.24.3/src/engine.c:429:22: branch_true: ...to here
gpgme-1.24.3/src/engine.c:429:22: acquire_memory: allocated here
gpgme-1.24.3/src/engine.c:430:10: branch_false: following 'false' branch (when 'new_home_dir' is non-NULL)...
gpgme-1.24.3/src/engine.c:452:15: branch_false: ...to here
gpgme-1.24.3/src/engine.c:458:19: call_function: calling 'engine_get_version' from '_gpgme_set_engine_info'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
gpgme-1.24.3/src/engine.c:259:19: warning[-Wanalyzer-malloc-leak]: leak of 'file_name'
gpgme-1.24.3/src/engine.c:491:1: enter_function: entry to 'gpgme_set_engine_info'
gpgme-1.24.3/src/engine.c:499:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine.c:502:7: branch_true: ...to here
gpgme-1.24.3/src/engine.c:503:13: call_function: calling 'gpgme_get_engine_info' from 'gpgme_set_engine_info'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
gpgme-1.24.3/src/engine.c:259:19: warning[-Wanalyzer-malloc-leak]: leak of 'home_dir'
gpgme-1.24.3/src/engine.c:491:1: enter_function: entry to 'gpgme_set_engine_info'
gpgme-1.24.3/src/engine.c:499:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine.c:502:7: branch_true: ...to here
gpgme-1.24.3/src/engine.c:503:13: call_function: calling 'gpgme_get_engine_info' from 'gpgme_set_engine_info'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
gpgme-1.24.3/src/engine.c:532:13: warning[-Wanalyzer-malloc-leak]: leak of 'engine'
gpgme-1.24.3/src/engine.c:521:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/engine.c:524:12: acquire_memory: allocated here
gpgme-1.24.3/src/engine.c:525:6: branch_false: following 'false' branch (when 'engine' is non-NULL)...
gpgme-1.24.3/src/engine.c:528:28: branch_false: ...to here
gpgme-1.24.3/src/engine.c:529:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/engine.c:533:51: branch_true: ...to here
gpgme-1.24.3/src/engine.c:532:13: danger: 'engine' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
gpgme-1.24.3/src/export.c:276:9: warning[-Wanalyzer-malloc-leak]: leak of 'pattern'
gpgme-1.24.3/src/export.c:382:1: enter_function: entry to 'export_keys_start'
gpgme-1.24.3/src/export.c:401:6: branch_false: following 'false' branch (when 'nkeys != 0')...
gpgme-1.24.3/src/export.c:404:21: branch_false: ...to here
gpgme-1.24.3/src/export.c:404:13: acquire_memory: allocated here
gpgme-1.24.3/src/export.c:405:6: branch_false: following 'false' branch (when 'pattern' is non-NULL)...
branch_false: ...to here
gpgme-1.24.3/src/export.c:425:9: call_function: calling 'export_ext_start' from 'export_keys_start'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
gpgme-1.24.3/src/export.c:280:9: warning[-Wanalyzer-malloc-leak]: leak of 'pattern'
gpgme-1.24.3/src/export.c:382:1: enter_function: entry to 'export_keys_start'
gpgme-1.24.3/src/export.c:401:6: branch_false: following 'false' branch (when 'nkeys != 0')...
gpgme-1.24.3/src/export.c:404:21: branch_false: ...to here
gpgme-1.24.3/src/export.c:404:13: acquire_memory: allocated here
gpgme-1.24.3/src/export.c:405:6: branch_false: following 'false' branch (when 'pattern' is non-NULL)...
branch_false: ...to here
gpgme-1.24.3/src/export.c:425:9: call_function: calling 'export_ext_start' from 'export_keys_start'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def135]
gpgme-1.24.3/src/gpgme-json.c:317:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
gpgme-1.24.3/src/gpgme-json.c:3755:1: enter_function: entry to ‘native_messaging_repl’
gpgme-1.24.3/src/gpgme-json.c:3774:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3780:11: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3780:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3782:10: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3782:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3787:11: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3787:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3798:17: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3799:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3807:11: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3807:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3813:11: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3813:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3816:11: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3817:22: call_function: calling ‘error_object_string’ from ‘native_messaging_repl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
gpgme-1.24.3/src/gpgme-json.c:3597:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gpgme-1.24.3/src/gpgme-json.c:3590:6: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3592:16: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3593:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3593:11: branch_true: following ‘true’ branch (when the strings are equal)...
gpgme-1.24.3/src/gpgme-json.c:3596:19: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3597:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3597:24: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3597:24: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
gpgme-1.24.3/src/gpgme-json.c:3614:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
gpgme-1.24.3/src/gpgme-json.c:3590:6: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3592:16: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3593:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3593:11: branch_true: following ‘true’ branch (when the strings are equal)...
gpgme-1.24.3/src/gpgme-json.c:3596:19: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3597:14: branch_true: following ‘true’ branch...
gpgme-1.24.3/src/gpgme-json.c:3599:15: branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3600:24: acquire_memory: allocated here
gpgme-1.24.3/src/gpgme-json.c:3601:18: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
branch_true: ...to here
gpgme-1.24.3/src/gpgme-json.c:3603:34: branch_false: following ‘false’ branch...
gpgme-1.24.3/src/gpgme-json.c:3610:19: branch_false: ...to here
gpgme-1.24.3/src/gpgme-json.c:3614:7: danger: ‘buffer’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-562): [#def138]
gpgme-1.24.3/src/gpgme-tool.c:3314: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def139]
gpgme-1.24.3/src/gpgme-tool.c:3316: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
gpgme-1.24.3/src/gpgme.c:116:9: warning[-Wanalyzer-malloc-leak]: leak of 'ctx'
gpgme-1.24.3/src/gpgme.c:104:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/gpgme.c:107:6: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:107:6: branch_false: following 'false' branch (when 'r_ctx' is non-NULL)...
gpgme-1.24.3/src/gpgme.c:110:9: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:110:9: acquire_memory: allocated here
gpgme-1.24.3/src/gpgme.c:111:6: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
gpgme-1.24.3/src/gpgme.c:114:3: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:116:9: danger: 'ctx' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
gpgme-1.24.3/src/gpgme.c:1146:5: warning[-Wanalyzer-malloc-leak]: leak of 'new_lc_ctype'
gpgme-1.24.3/src/gpgme.c:1110:3: branch_true: following 'true' branch...
gpgme-1.24.3/src/gpgme.c:1110:3: acquire_memory: allocated here
gpgme-1.24.3/src/gpgme.c:1110:3: branch_false: following 'false' branch (when 'new_lc_ctype' is non-NULL)...
gpgme-1.24.3/src/gpgme.c:1113:3: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:1113:3: branch_true: following 'true' branch...
gpgme-1.24.3/src/gpgme.c:1113:3: branch_true: ...to here
gpgme-1.24.3/src/gpgme.c:1113:3: branch_false: following 'false' branch...
gpgme-1.24.3/src/gpgme.c:1116:6: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:1116:6: branch_false: following 'false' branch (when 'failed == 0')...
gpgme-1.24.3/src/gpgme.c:1145:6: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:1145:6: branch_true: following 'true' branch (when 'ctx' is NULL)...
gpgme-1.24.3/src/gpgme.c:1146:5: branch_true: ...to here
gpgme-1.24.3/src/gpgme.c:1146:5: danger: 'new_lc_ctype' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
gpgme-1.24.3/src/gpgme.c:1146:5: warning[-Wanalyzer-malloc-leak]: leak of 'new_lc_messages'
gpgme-1.24.3/src/gpgme.c:1110:3: branch_true: following 'true' branch (when 'value' is non-NULL)...
gpgme-1.24.3/src/gpgme.c:1110:3: branch_true: ...to here
gpgme-1.24.3/src/gpgme.c:1113:3: branch_true: following 'true' branch...
gpgme-1.24.3/src/gpgme.c:1113:3: acquire_memory: allocated here
gpgme-1.24.3/src/gpgme.c:1113:3: branch_false: following 'false' branch (when 'new_lc_messages' is non-NULL)...
gpgme-1.24.3/src/gpgme.c:1116:6: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:1116:6: branch_false: following 'false' branch (when 'failed == 0')...
gpgme-1.24.3/src/gpgme.c:1145:6: branch_false: ...to here
gpgme-1.24.3/src/gpgme.c:1145:6: branch_true: following 'true' branch (when 'ctx' is NULL)...
gpgme-1.24.3/src/gpgme.c:1146:5: branch_true: ...to here
gpgme-1.24.3/src/gpgme.c:1146:5: danger: 'new_lc_messages' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
gpgme-1.24.3/src/import.c:133:3: warning[-Wanalyzer-malloc-leak]: leak of 'import'
gpgme-1.24.3/src/import.c:128:12: acquire_memory: allocated here
gpgme-1.24.3/src/import.c:129:6: branch_false: following 'false' branch (when 'import' is non-NULL)...
gpgme-1.24.3/src/import.c:131:3: branch_false: ...to here
gpgme-1.24.3/src/import.c:133:3: danger: 'import' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
gpgme-1.24.3/src/key.c:238:18: warning[-Wanalyzer-malloc-leak]: leak of 'key'
gpgme-1.24.3/src/key.c:459:1: enter_function: entry to 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: call_function: calling '_gpgme_key_new' from 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: return_function: returning to 'gpgme_key_from_uid' from '_gpgme_key_new'
gpgme-1.24.3/src/key.c:466:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/key.c:470:9: branch_false: ...to here
gpgme-1.24.3/src/key.c:470:9: call_function: calling '_gpgme_key_append_name' from 'gpgme_key_from_uid'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
gpgme-1.24.3/src/key.c:238:18: warning[-Wanalyzer-malloc-leak]: leak of 'uid'
gpgme-1.24.3/src/key.c:459:1: enter_function: entry to 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: call_function: calling '_gpgme_key_new' from 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: return_function: returning to 'gpgme_key_from_uid' from '_gpgme_key_new'
gpgme-1.24.3/src/key.c:466:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/key.c:470:9: branch_false: ...to here
gpgme-1.24.3/src/key.c:470:9: call_function: calling '_gpgme_key_append_name' from 'gpgme_key_from_uid'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
gpgme-1.24.3/src/key.c:297:7: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
gpgme-1.24.3/src/key.c:273:7: branch_true: following 'true' branch (when 'src' is non-NULL)...
gpgme-1.24.3/src/key.c:273:23: branch_true: ...to here
gpgme-1.24.3/src/key.c:277:3: branch_true: following 'true' branch (when 'key' is non-NULL)...
gpgme-1.24.3/src/key.c:279:3: branch_true: ...to here
gpgme-1.24.3/src/key.c:280:3: branch_true: following 'true' branch (when 'uid' is non-NULL)...
gpgme-1.24.3/src/key.c:285:33: branch_true: ...to here
gpgme-1.24.3/src/key.c:285:9: acquire_memory: allocated here
gpgme-1.24.3/src/key.c:286:6: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/key.c:288:3: branch_false: ...to here
gpgme-1.24.3/src/key.c:294:6: branch_true: following 'true' branch (when 'src' is non-NULL)...
gpgme-1.24.3/src/key.c:296:13: branch_true: ...to here
gpgme-1.24.3/src/key.c:297:7: danger: 'sig' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
gpgme-1.24.3/src/key.c:470:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'key'
gpgme-1.24.3/src/key.c:459:1: enter_function: entry to 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: call_function: calling '_gpgme_key_new' from 'gpgme_key_from_uid'
gpgme-1.24.3/src/key.c:465:9: return_function: returning to 'gpgme_key_from_uid' from '_gpgme_key_new'
gpgme-1.24.3/src/key.c:466:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/key.c:470:9: branch_false: ...to here
gpgme-1.24.3/src/key.c:470:9: danger: use of uninitialized value 'key' here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
gpgme-1.24.3/src/keylist.c:493:9: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:493:9: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
gpgme-1.24.3/src/keylist.c:499:9: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:499:9: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
gpgme-1.24.3/src/keylist.c:507:9: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:500:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:502:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:507:9: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
gpgme-1.24.3/src/keylist.c:529:9: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:500:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:502:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:508:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:510:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:529:9: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
gpgme-1.24.3/src/keylist.c:533:9: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:500:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:502:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:508:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:510:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:530:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:532:3: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:533:9: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
gpgme-1.24.3/src/keylist.c:542:13: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:500:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:502:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:508:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:510:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:530:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:532:3: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:534:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:536:3: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:538:6: branch_true: following 'true' branch (when 'nfield > 9')...
gpgme-1.24.3/src/keylist.c:542:13: branch_true: ...to here
gpgme-1.24.3/src/keylist.c:542:13: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
gpgme-1.24.3/src/keylist.c:546:13: warning[-Wanalyzer-malloc-leak]: leak of 'ti'
gpgme-1.24.3/src/keylist.c:480:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:484:6: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:484:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:487:8: acquire_memory: allocated here
gpgme-1.24.3/src/keylist.c:488:6: branch_false: following 'false' branch (when 'ti' is non-NULL)...
gpgme-1.24.3/src/keylist.c:493:9: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:494:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:500:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:502:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:508:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:510:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:530:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:532:3: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:534:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:536:3: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:538:6: branch_true: following 'true' branch (when 'nfield > 9')...
gpgme-1.24.3/src/keylist.c:542:13: branch_true: ...to here
gpgme-1.24.3/src/keylist.c:543:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/keylist.c:545:7: branch_false: ...to here
gpgme-1.24.3/src/keylist.c:546:13: danger: 'ti' leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
gpgme-1.24.3/src/op-support.c:222:3: warning[-Wanalyzer-malloc-leak]: leak of 'inv_key'
gpgme-1.24.3/src/op-support.c:218:13: acquire_memory: allocated here
gpgme-1.24.3/src/op-support.c:219:6: branch_false: following 'false' branch (when 'inv_key' is non-NULL)...
gpgme-1.24.3/src/op-support.c:222:3: branch_false: ...to here
gpgme-1.24.3/src/op-support.c:222:3: danger: 'inv_key' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
gpgme-1.24.3/src/posix-io.c:635:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'res'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:603:23: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:608:19: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:620:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:623:21: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:623:21: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:624:18: branch_false: following 'false' branch (when 'res >= 0')...
gpgme-1.24.3/src/posix-io.c:635:15: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:635:15: danger: 'res' leaks here; was opened at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
gpgme-1.24.3/src/posix-io.c:640:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'res'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:603:23: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:608:19: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:623:21: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:624:18: branch_false: following 'false' branch (when 'res >= 0')...
gpgme-1.24.3/src/posix-io.c:635:15: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:603:23: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:638:15: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:640:20: danger: 'res' leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
gpgme-1.24.3/src/posix-io.c:648:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/null", 2)'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:640:20: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:653:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:655:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:648:35: danger: 'open("/dev/null", 2)' leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
gpgme-1.24.3/src/posix-io.c:650:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 0)'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:648:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:650:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:650:23: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:650:22: danger: 'dup2(open("/dev/null", 2), 0)' leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING: [#def160]
gpgme-1.24.3/src/posix-io.c:650:23: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '0'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:593:24: branch_true: following 'true' branch (when 'max_fds > fd')...
branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:598:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:599:17: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:599:17: release_resource: closed here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:648:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:650:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:650:23: danger: '0' could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
gpgme-1.24.3/src/posix-io.c:655:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 1)'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:653:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:655:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:655:23: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:655:22: danger: 'dup2(open("/dev/null", 2), 1)' leaks here; was opened at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING: [#def162]
gpgme-1.24.3/src/posix-io.c:655:23: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '1'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:593:24: branch_true: following 'true' branch (when 'max_fds > fd')...
branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:598:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:599:17: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:593:24: branch_true: following 'true' branch (when 'max_fds > fd')...
branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:598:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:599:17: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:599:17: release_resource: closed here
gpgme-1.24.3/src/posix-io.c:603:23: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:638:15: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:638:14: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:640:20: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:653:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:655:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:655:23: danger: '1' could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
gpgme-1.24.3/src/posix-io.c:660:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 2)'
gpgme-1.24.3/src/posix-io.c:549:6: branch_false: following 'false' branch (when 'pid != -1')...
gpgme-1.24.3/src/posix-io.c:552:6: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:552:6: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:555:18: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:555:10: branch_true: following 'true' branch (when 'pid == 0')...
gpgme-1.24.3/src/posix-io.c:564:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:641:18: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:648:35: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:655:22: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:658:19: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:658:18: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:660:23: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:660:23: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:660:22: danger: 'dup2(open("/dev/null", 2), 2)' leaks here; was opened at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
gpgme-1.24.3/src/posix-io.c:726:3: warning[-Wanalyzer-malloc-leak]: leak of 'poll_fds'
gpgme-1.24.3/src/posix-io.c:720:14: acquire_memory: allocated here
gpgme-1.24.3/src/posix-io.c:721:6: branch_false: following 'false' branch (when 'poll_fds' is non-NULL)...
gpgme-1.24.3/src/posix-io.c:726:3: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:726:3: danger: 'poll_fds' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
gpgme-1.24.3/src/posix-io.c:741:15: warning[-Wanalyzer-malloc-leak]: leak of 'poll_fds'
gpgme-1.24.3/src/posix-io.c:720:14: acquire_memory: allocated here
gpgme-1.24.3/src/posix-io.c:721:6: branch_false: following 'false' branch (when 'poll_fds' is non-NULL)...
gpgme-1.24.3/src/posix-io.c:726:3: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:729:15: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:731:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:731:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:733:11: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:738:14: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:740:15: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:741:15: danger: 'poll_fds' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
gpgme-1.24.3/src/posix-io.c:746:15: warning[-Wanalyzer-malloc-leak]: leak of 'poll_fds'
gpgme-1.24.3/src/posix-io.c:720:14: acquire_memory: allocated here
gpgme-1.24.3/src/posix-io.c:721:6: branch_false: following 'false' branch (when 'poll_fds' is non-NULL)...
gpgme-1.24.3/src/posix-io.c:726:3: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:729:15: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:731:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:731:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:733:11: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:733:11: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:735:19: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:743:14: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:745:15: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:746:15: danger: 'poll_fds' leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
gpgme-1.24.3/src/posix-io.c:753:3: warning[-Wanalyzer-malloc-leak]: leak of 'poll_fds'
gpgme-1.24.3/src/posix-io.c:720:14: acquire_memory: allocated here
gpgme-1.24.3/src/posix-io.c:721:6: branch_false: following 'false' branch (when 'poll_fds' is non-NULL)...
gpgme-1.24.3/src/posix-io.c:726:3: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:753:3: danger: 'poll_fds' leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
gpgme-1.24.3/src/posix-io.c:761:13: warning[-Wanalyzer-malloc-leak]: leak of 'poll_fds'
gpgme-1.24.3/src/posix-io.c:720:14: acquire_memory: allocated here
gpgme-1.24.3/src/posix-io.c:721:6: branch_false: following 'false' branch (when 'poll_fds' is non-NULL)...
gpgme-1.24.3/src/posix-io.c:726:3: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:729:15: branch_true: following 'true' branch...
gpgme-1.24.3/src/posix-io.c:731:14: branch_true: ...to here
gpgme-1.24.3/src/posix-io.c:731:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/posix-io.c:733:11: branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:754:6: branch_false: following 'false' branch (when 'any != 0')...
branch_false: ...to here
gpgme-1.24.3/src/posix-io.c:761:13: danger: 'poll_fds' leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
gpgme-1.24.3/src/posix-io.c:1021:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'new_fd'
gpgme-1.24.3/src/posix-io.c:1018:14: acquire_resource: opened here
gpgme-1.24.3/src/posix-io.c:1021:3: danger: 'new_fd' leaks here; was opened at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
gpgme-1.24.3/src/progress.c:86:5: warning[-Wanalyzer-malloc-leak]: leak of 'args_cpy'
gpgme-1.24.3/src/progress.c:47:6: branch_false: following 'false' branch (when 'code != 88')...
gpgme-1.24.3/src/progress.c:53:6: branch_false: ...to here
gpgme-1.24.3/src/progress.c:53:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/progress.c:56:14: acquire_memory: allocated here
gpgme-1.24.3/src/progress.c:57:6: branch_false: following 'false' branch (when 'args_cpy' is non-NULL)...
gpgme-1.24.3/src/progress.c:60:7: branch_false: ...to here
gpgme-1.24.3/src/progress.c:61:6: branch_false: following 'false' branch (when 'p' is NULL)...
branch_false: ...to here
gpgme-1.24.3/src/progress.c:86:5: danger: 'args_cpy' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
gpgme-1.24.3/src/sign.c:207:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
gpgme-1.24.3/src/sign.c:310:1: enter_function: entry to '_gpgme_sign_status_handler'
gpgme-1.24.3/src/sign.c:323:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:326:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:330:13: call_function: calling 'parse_sig_created' from '_gpgme_sign_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
gpgme-1.24.3/src/sign.c:207:12: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
gpgme-1.24.3/src/sign.c:310:1: enter_function: entry to '_gpgme_sign_status_handler'
gpgme-1.24.3/src/sign.c:323:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:326:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:330:13: call_function: calling 'parse_sig_created' from '_gpgme_sign_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
gpgme-1.24.3/src/sign.c:237:3: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
gpgme-1.24.3/src/sign.c:205:9: acquire_memory: allocated here
gpgme-1.24.3/src/sign.c:206:6: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/sign.c:209:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:231:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:237:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:237:3: danger: 'sig' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
gpgme-1.24.3/src/sign.c:238:22: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
gpgme-1.24.3/src/sign.c:205:9: acquire_memory: allocated here
gpgme-1.24.3/src/sign.c:206:6: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/sign.c:209:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:231:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:237:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:238:22: danger: 'sig' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
gpgme-1.24.3/src/sign.c:276:20: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
gpgme-1.24.3/src/sign.c:205:9: acquire_memory: allocated here
gpgme-1.24.3/src/sign.c:206:6: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/sign.c:209:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:231:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:237:3: branch_false: ...to here
gpgme-1.24.3/src/sign.c:239:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:248:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:260:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/sign.c:260:17: branch_true: ...to here
gpgme-1.24.3/src/sign.c:268:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/sign.c:276:20: danger: 'sig' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-787): [#def176]
gpgme-1.24.3/src/signers.c:85:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow
gpgme-1.24.3/src/signers.c:72:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/signers.c:75:7: branch_false: ...to here
gpgme-1.24.3/src/signers.c:75:6: branch_true: following 'true' branch...
gpgme-1.24.3/src/signers.c:78:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:82:10: branch_false: following 'false' branch (when 'newarr' is non-NULL)...
gpgme-1.24.3/src/signers.c:84:16: branch_false: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:84:35: branch_true: following 'true' branch (when 'j < n')...
gpgme-1.24.3/src/signers.c:85:15: branch_true: ...to here
gpgme-1.24.3/src/signers.c:85:9: danger: write of 8 bytes at offset '(long unsigned int)j * 8' exceeds '*newarr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
gpgme-1.24.3/src/verify.c:429:6: warning[-Wanalyzer-malloc-leak]: leak of '*sig.fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:969:14: branch_true: following 'true' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:969:20: branch_true: ...to here
gpgme-1.24.3/src/verify.c:969:20: call_function: calling 'parse_valid_sig' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
gpgme-1.24.3/src/verify.c:433:9: warning[-Wanalyzer-null-argument]: use of NULL 'end' where non-null expected
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:969:14: branch_true: following 'true' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:969:20: branch_true: ...to here
gpgme-1.24.3/src/verify.c:969:20: call_function: calling 'parse_valid_sig' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
gpgme-1.24.3/src/verify.c:719:9: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1019:10: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:1021:13: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1021:13: call_function: calling 'parse_tofu_user' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
gpgme-1.24.3/src/verify.c:725:13: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1019:10: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:1021:13: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1021:13: call_function: calling 'parse_tofu_user' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
gpgme-1.24.3/src/verify.c:738:9: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1019:10: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:1021:13: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1021:13: call_function: calling 'parse_tofu_user' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
gpgme-1.24.3/src/verify.c:757:10: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
gpgme-1.24.3/src/verify.c:930:1: enter_function: entry to '_gpgme_verify_status_handler'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1019:10: branch_false: following 'false' branch (when 'sig' is non-NULL)...
gpgme-1.24.3/src/verify.c:1021:13: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1021:13: call_function: calling 'parse_tofu_user' from '_gpgme_verify_status_handler'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
gpgme-1.24.3/src/verify.c:1014:7: warning[-Wanalyzer-malloc-leak]: leak of '*sig.pka_address'
gpgme-1.24.3/src/verify.c:941:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:944:3: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1008:10: branch_false: following 'false' branch...
gpgme-1.24.3/src/verify.c:1012:10: branch_false: following 'false' branch (when 'end' is NULL)...
gpgme-1.24.3/src/verify.c:1014:26: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1014:26: acquire_memory: allocated here
gpgme-1.24.3/src/verify.c:1014:7: danger: '*sig.pka_address' leaks here; was allocated at [(10)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
gpgme-1.24.3/src/verify.c:1239:3: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.3/src/verify.c:1230:1: enter_function: entry to 'gpgme_get_sig_key'
gpgme-1.24.3/src/verify.c:1235:6: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
gpgme-1.24.3/src/verify.c:1238:12: branch_false: ...to here
gpgme-1.24.3/src/verify.c:1238:12: call_function: calling 'gpgme_op_verify_result' from 'gpgme_get_sig_key'
gpgme-1.24.3/src/verify.c:1238:12: return_function: returning to 'gpgme_get_sig_key' from 'gpgme_op_verify_result'
gpgme-1.24.3/src/verify.c:1239:3: danger: dereference of NULL 'gpgme_op_verify_result(ctx)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
gpgme-1.24.3/src/verify.c:1265:3: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.3/src/verify.c:1258:1: enter_function: entry to 'gpgme_get_sig_status'
gpgme-1.24.3/src/verify.c:1264:12: call_function: calling 'gpgme_op_verify_result' from 'gpgme_get_sig_status'
gpgme-1.24.3/src/verify.c:1264:12: return_function: returning to 'gpgme_get_sig_status' from 'gpgme_op_verify_result'
gpgme-1.24.3/src/verify.c:1265:3: danger: dereference of NULL 'gpgme_op_verify_result(ctx)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
gpgme-1.24.3/src/verify.c:1328:3: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.3/src/verify.c:1319:1: enter_function: entry to 'gpgme_get_sig_ulong_attr'
gpgme-1.24.3/src/verify.c:1327:12: call_function: calling 'gpgme_op_verify_result' from 'gpgme_get_sig_ulong_attr'
gpgme-1.24.3/src/verify.c:1327:12: return_function: returning to 'gpgme_get_sig_ulong_attr' from 'gpgme_op_verify_result'
gpgme-1.24.3/src/verify.c:1328:3: danger: dereference of NULL 'gpgme_op_verify_result(ctx)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
gpgme-1.24.3/src/verify.c:1392:3: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.3/src/verify.c:1385:1: enter_function: entry to 'gpgme_get_sig_string_attr'
gpgme-1.24.3/src/verify.c:1391:12: call_function: calling 'gpgme_op_verify_result' from 'gpgme_get_sig_string_attr'
gpgme-1.24.3/src/verify.c:1391:12: return_function: returning to 'gpgme_get_sig_string_attr' from 'gpgme_op_verify_result'
gpgme-1.24.3/src/verify.c:1392:3: danger: dereference of NULL 'gpgme_op_verify_result(ctx)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
gpgme-1.24.3/src/wait-global.c:288:7: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)i * 24)'
gpgme-1.24.3/src/wait-global.c:267:34: branch_false: following 'false' branch (when 'li' is NULL)...
gpgme-1.24.3/src/wait-global.c:269:17: branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:269:17: acquire_memory: allocated here
gpgme-1.24.3/src/wait-global.c:270:10: branch_false: following 'false' branch...
branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:282:34: branch_false: following 'false' branch (when 'li' is NULL)...
gpgme-1.24.3/src/wait-global.c:288:7: branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:288:7: danger: 'malloc((long unsigned int)i * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
gpgme-1.24.3/src/wait-global.c:290:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)i * 24)'
gpgme-1.24.3/src/wait-global.c:267:34: branch_false: following 'false' branch (when 'li' is NULL)...
gpgme-1.24.3/src/wait-global.c:269:17: branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:269:17: acquire_memory: allocated here
gpgme-1.24.3/src/wait-global.c:270:10: branch_false: following 'false' branch...
branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:282:34: branch_false: following 'false' branch (when 'li' is NULL)...
gpgme-1.24.3/src/wait-global.c:288:7: branch_false: ...to here
gpgme-1.24.3/src/wait-global.c:290:12: danger: 'malloc((long unsigned int)i * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
gpgme-1.24.3/src/wait.c:139:3: warning[-Wanalyzer-malloc-leak]: leak of 'item'
gpgme-1.24.3/src/wait.c:99:1: enter_function: entry to '_gpgme_add_io_cb'
gpgme-1.24.3/src/wait.c:108:3: branch_true: following 'true' branch (when 'fnc' is non-NULL)...
gpgme-1.24.3/src/wait.c:109:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:109:3: branch_true: following 'true' branch (when 'data' is non-NULL)...
gpgme-1.24.3/src/wait.c:111:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:115:6: branch_false: following 'false' branch (when 'tag' is non-NULL)...
gpgme-1.24.3/src/wait.c:117:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:120:10: acquire_memory: allocated here
gpgme-1.24.3/src/wait.c:121:6: branch_false: following 'false' branch (when 'item' is non-NULL)...
gpgme-1.24.3/src/wait.c:126:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:131:9: call_function: calling 'fd_table_put' from '_gpgme_add_io_cb'
gpgme-1.24.3/src/wait.c:131:9: return_function: returning to '_gpgme_add_io_cb' from 'fd_table_put'
gpgme-1.24.3/src/wait.c:132:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/wait.c:139:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:139:3: danger: 'item' leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
gpgme-1.24.3/src/wait.c:139:3: warning[-Wanalyzer-malloc-leak]: leak of 'tag'
gpgme-1.24.3/src/wait.c:108:3: branch_true: following 'true' branch (when 'fnc' is non-NULL)...
gpgme-1.24.3/src/wait.c:109:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:109:3: branch_true: following 'true' branch (when 'data' is non-NULL)...
gpgme-1.24.3/src/wait.c:111:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:114:9: acquire_memory: allocated here
gpgme-1.24.3/src/wait.c:115:6: branch_false: following 'false' branch (when 'tag' is non-NULL)...
gpgme-1.24.3/src/wait.c:117:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:121:6: branch_false: following 'false' branch (when 'item' is non-NULL)...
gpgme-1.24.3/src/wait.c:126:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:132:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/wait.c:139:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:139:3: danger: 'tag' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
gpgme-1.24.3/src/wait.c:142:3: warning[-Wanalyzer-malloc-leak]: leak of 'item'
gpgme-1.24.3/src/wait.c:99:1: enter_function: entry to '_gpgme_add_io_cb'
gpgme-1.24.3/src/wait.c:108:3: branch_true: following 'true' branch (when 'fnc' is non-NULL)...
gpgme-1.24.3/src/wait.c:109:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:109:3: branch_true: following 'true' branch (when 'data' is non-NULL)...
gpgme-1.24.3/src/wait.c:111:3: branch_true: ...to here
gpgme-1.24.3/src/wait.c:115:6: branch_false: following 'false' branch (when 'tag' is non-NULL)...
gpgme-1.24.3/src/wait.c:117:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:120:10: acquire_memory: allocated here
gpgme-1.24.3/src/wait.c:121:6: branch_false: following 'false' branch (when 'item' is non-NULL)...
gpgme-1.24.3/src/wait.c:126:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:131:9: call_function: calling 'fd_table_put' from '_gpgme_add_io_cb'
gpgme-1.24.3/src/wait.c:131:9: return_function: returning to '_gpgme_add_io_cb' from 'fd_table_put'
gpgme-1.24.3/src/wait.c:132:6: branch_false: following 'false' branch...
gpgme-1.24.3/src/wait.c:139:3: branch_false: ...to here
gpgme-1.24.3/src/wait.c:142:3: danger: 'item' leaks here; was allocated at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:124:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:124:9: danger: ‘make_filename("cipher-2.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:125:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:125:3: danger: ‘make_filename("cipher-2.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:125:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:127:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:129:5: danger: ‘make_filename("cipher-2.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:131:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:125:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:127:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:131:9: danger: ‘make_filename("cipher-2.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
gpgme-1.24.3/tests/gpg/t-decrypt.c:54:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt.c:54:9: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
gpgme-1.24.3/tests/gpg/t-decrypt.c:55:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt.c:55:3: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
gpgme-1.24.3/tests/gpg/t-decrypt.c:59:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt.c:55:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-decrypt.c:57:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-decrypt.c:59:5: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
gpgme-1.24.3/tests/gpg/t-decrypt.c:61:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-decrypt.c:55:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-decrypt.c:57:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-decrypt.c:61:9: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
gpgme-1.24.3/tests/gpg/t-import.c:227:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:227:9: danger: ‘make_filename("pubkey-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
gpgme-1.24.3/tests/gpg/t-import.c:227:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:227:9: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
gpgme-1.24.3/tests/gpg/t-import.c:228:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: danger: ‘make_filename("pubkey-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
gpgme-1.24.3/tests/gpg/t-import.c:228:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
gpgme-1.24.3/tests/gpg/t-import.c:230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:230:9: danger: ‘make_filename("pubkey-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
gpgme-1.24.3/tests/gpg/t-import.c:230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:230:9: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
gpgme-1.24.3/tests/gpg/t-import.c:233:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:233:9: danger: ‘make_filename("pubkey-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
gpgme-1.24.3/tests/gpg/t-import.c:233:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:233:9: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
gpgme-1.24.3/tests/gpg/t-import.c:237:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:235:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:237:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:237:9: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
gpgme-1.24.3/tests/gpg/t-import.c:239:12: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:235:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:237:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:238:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:239:12: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:239:12: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
gpgme-1.24.3/tests/gpg/t-import.c:241:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:235:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:237:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:238:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:239:12: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:240:3: call_function: calling ‘check_result’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:240:3: return_function: returning to ‘main’ from ‘check_result’
gpgme-1.24.3/tests/gpg/t-import.c:241:3: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
gpgme-1.24.3/tests/gpg/t-import.c:243:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:235:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:237:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:238:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:239:12: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:240:3: call_function: calling ‘check_result’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:240:3: return_function: returning to ‘main’ from ‘check_result’
gpgme-1.24.3/tests/gpg/t-import.c:243:9: danger: ‘make_filename("seckey-1.asc")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
gpgme-1.24.3/tests/gpg/t-import.c:245:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-import.c:228:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:230:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:231:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:233:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:235:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:237:9: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:238:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-import.c:239:12: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-import.c:240:3: call_function: calling ‘check_result’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
gpgme-1.24.3/tests/gpg/t-support.h:211:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
gpgme-1.24.3/tests/gpg/t-support.h:211:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
gpgme-1.24.3/tests/gpg/t-support.h:211:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
gpgme-1.24.3/tests/gpg/t-support.h:211:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
gpgme-1.24.3/tests/gpg/t-support.h:213:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
gpgme-1.24.3/tests/gpg/t-support.h:213:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
gpgme-1.24.3/tests/gpg/t-support.h:213:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
gpgme-1.24.3/tests/gpg/t-support.h:213:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
gpgme-1.24.3/tests/gpg/t-support.h:215:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
gpgme-1.24.3/tests/gpg/t-support.h:215:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
gpgme-1.24.3/tests/gpg/t-support.h:215:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
gpgme-1.24.3/tests/gpg/t-support.h:215:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
gpgme-1.24.3/tests/gpg/t-support.h:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
gpgme-1.24.3/tests/gpg/t-support.h:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
gpgme-1.24.3/tests/gpg/t-support.h:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
gpgme-1.24.3/tests/gpg/t-support.h:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
gpgme-1.24.3/tests/gpg/t-support.h:219:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt.c:40:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt.c:46:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt.c:52:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
gpgme-1.24.3/tests/gpg/t-support.h:219:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:109:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:116:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-decrypt-verify.c:122:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
gpgme-1.24.3/tests/gpg/t-support.h:219:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
gpgme-1.24.3/tests/gpg/t-support.h:219:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.3/tests/gpg/t-import.c:212:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:219:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpg/t-import.c:220:24: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-import.c:225:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
gpgme-1.24.3/tests/gpg/t-thread1.c:111:13: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:111:13: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
gpgme-1.24.3/tests/gpg/t-thread1.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:115:9: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
gpgme-1.24.3/tests/gpg/t-thread1.c:117:13: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:117:13: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:121:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:121:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:124:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
gpgme-1.24.3/tests/gpg/t-thread1.c:134:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:121:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:124:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:126:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:132:7: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:134:7: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
gpgme-1.24.3/tests/gpg/t-thread1.c:135:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:121:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:124:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:126:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:132:7: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:135:7: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
gpgme-1.24.3/tests/gpg/t-thread1.c:136:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.3/tests/gpg/t-thread1.c:94:1: enter_function: entry to ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: call_function: calling ‘make_filename’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:97:24: return_function: returning to ‘thread_two’ from ‘make_filename’
gpgme-1.24.3/tests/gpg/t-thread1.c:102:15: branch_true: following ‘true’ branch (when ‘i != 20’)...
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: branch_true: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: call_function: calling ‘init_gpgme’ from ‘thread_two’
gpgme-1.24.3/tests/gpg/t-thread1.c:109:7: return_function: returning to ‘thread_two’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpg/t-thread1.c:112:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:114:10: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:118:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:120:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:121:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:123:13: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:124:7: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:125:16: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:126:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpg/t-thread1.c:132:7: branch_false: ...to here
gpgme-1.24.3/tests/gpg/t-thread1.c:136:7: danger: ‘make_filename("cipher-1.asc")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
gpgme-1.24.3/tests/gpgsm/t-import.c:152:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:152:9: danger: ‘make_filename("cert_dfn_pca01.der")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
gpgme-1.24.3/tests/gpgsm/t-import.c:152:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:152:9: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: danger: ‘make_filename("cert_dfn_pca01.der")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: danger: ‘make_filename("cert_dfn_pca01.der")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
gpgme-1.24.3/tests/gpgsm/t-import.c:157:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:157:9: danger: ‘make_filename("cert_dfn_pca01.der")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
gpgme-1.24.3/tests/gpgsm/t-import.c:157:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:157:9: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
gpgme-1.24.3/tests/gpgsm/t-import.c:161:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:159:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:161:9: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:161:9: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
gpgme-1.24.3/tests/gpgsm/t-import.c:163:12: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-import.c:153:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:155:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:159:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:161:9: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:162:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-import.c:163:12: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-import.c:163:12: danger: ‘make_filename("cert_dfn_pca15.der")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def254]
gpgme-1.24.3/tests/gpgsm/t-keylist.c:214:10: warning[-Wanalyzer-deref-before-check]: check of ‘*key.subkeys’ for NULL after already dereferencing it
gpgme-1.24.3/tests/gpgsm/t-keylist.c:84:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-keylist.c:92:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-keylist.c:92:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/gpgsm/t-keylist.c:95:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:96:3: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:99:3: branch_false: following ‘false’ branch...
branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:101:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:103:12: branch_true: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:103:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:109:22: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:120:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:125:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:125:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:130:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:130:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:135:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:135:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:140:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:140:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:146:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:146:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:152:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:152:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:157:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:157:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:163:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:163:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:169:12: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:169:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:174:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:174:10: branch_false: following ‘false’ branch (when the strings are equal)...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:180:12: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:180:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:185:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:185:10: branch_false: following ‘false’ branch (when the strings are equal)...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:191:11: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:197:11: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:202:10: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:208:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/gpgsm/t-keylist.c:214:12: branch_false: ...to here
gpgme-1.24.3/tests/gpgsm/t-keylist.c:214:10: danger: pointer ‘*key.subkeys’ is checked for NULL here but it was already dereferenced at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
gpgme-1.24.3/tests/gpgsm/t-support.h:114:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
gpgme-1.24.3/tests/gpgsm/t-support.h:114:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
gpgme-1.24.3/tests/gpgsm/t-support.h:117:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
gpgme-1.24.3/tests/gpgsm/t-support.h:117:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
gpgme-1.24.3/tests/gpgsm/t-support.h:118:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
gpgme-1.24.3/tests/gpgsm/t-support.h:118:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
gpgme-1.24.3/tests/gpgsm/t-support.h:121:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
gpgme-1.24.3/tests/gpgsm/t-support.h:121:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
gpgme-1.24.3/tests/gpgsm/t-support.h:122:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
gpgme-1.24.3/tests/gpgsm/t-support.h:122:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.3/tests/gpgsm/t-import.c:141:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:147:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/gpgsm/t-import.c:148:18: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/gpgsm/t-import.c:150:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
gpgme-1.24.3/tests/json/t-json.c:89:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
gpgme-1.24.3/tests/json/t-json.c:274:1: enter_function: entry to ‘run_test’
gpgme-1.24.3/tests/json/t-json.c:289:6: branch_false: following ‘false’ branch (when ‘top_srcdir’ is non-NULL)...
gpgme-1.24.3/tests/json/t-json.c:295:3: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:302:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/json/t-json.c:304:3: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:306:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/json/t-json.c:307:3: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:307:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/json/t-json.c:308:3: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:308:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/json/t-json.c:310:3: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:314:3: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/json/t-json.c:319:14: branch_false: ...to here
gpgme-1.24.3/tests/json/t-json.c:321:6: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/json/t-json.c:323:18: branch_true: ...to here
gpgme-1.24.3/tests/json/t-json.c:323:18: call_function: calling ‘get_file’ from ‘run_test’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
gpgme-1.24.3/tests/run-import.c:151:9: warning[-Wanalyzer-malloc-leak]: leak of ‘import_options’
gpgme-1.24.3/tests/run-import.c:60:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/run-import.c:75:6: branch_true: following ‘true’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:76:7: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:77:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-import.c:80:12: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:80:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:85:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:85:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:87:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:115:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-import.c:117:28: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:117:28: acquire_memory: allocated here
gpgme-1.24.3/tests/run-import.c:146:6: branch_false: following ‘false’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:149:3: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:149:3: call_function: calling ‘init_gpgme’ from ‘main’
gpgme-1.24.3/tests/run-import.c:149:3: return_function: returning to ‘main’ from ‘init_gpgme’
gpgme-1.24.3/tests/run-import.c:151:9: danger: ‘import_options’ leaks here; was allocated at [(12)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
gpgme-1.24.3/tests/run-keylist.c:239:11: warning[-Wanalyzer-malloc-leak]: leak of ‘trust_model’
gpgme-1.24.3/tests/run-keylist.c:131:6: branch_true: following ‘true’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-keylist.c:132:7: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:134:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-keylist.c:137:12: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:137:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:142:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:142:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:144:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:251:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-keylist.c:253:25: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:253:25: acquire_memory: allocated here
gpgme-1.24.3/tests/run-keylist.c:134:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-keylist.c:137:12: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:137:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:142:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:142:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:144:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:144:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:149:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:149:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:154:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:154:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:159:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:159:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:164:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:164:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:169:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:169:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:174:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:174:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:179:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:179:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:184:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:184:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:189:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:189:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:194:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:194:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:199:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:199:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:204:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:204:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:209:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:209:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:214:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:214:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:219:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:219:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:224:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:224:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:229:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:229:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:234:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:234:15: branch_true: following ‘true’ branch (when the strings are equal)...
gpgme-1.24.3/tests/run-keylist.c:237:14: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:237:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-keylist.c:239:11: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:239:11: danger: ‘trust_model’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
gpgme-1.24.3/tests/run-keylist.c:254:19: warning[-Wanalyzer-malloc-leak]: leak of ‘trust_model’
gpgme-1.24.3/tests/run-keylist.c:131:6: branch_true: following ‘true’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-keylist.c:132:7: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:134:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-keylist.c:137:12: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:137:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:142:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:142:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:144:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:251:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-keylist.c:253:25: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:253:25: acquire_memory: allocated here
gpgme-1.24.3/tests/run-keylist.c:134:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-keylist.c:137:12: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:137:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:142:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:142:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:144:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:144:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:149:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:149:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:154:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:154:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:159:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:159:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:164:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:164:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:169:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:169:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:174:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:174:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:179:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:179:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:184:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:184:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:189:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:189:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:194:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:194:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:199:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:199:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:204:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:204:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:209:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:209:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:214:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:214:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:219:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:219:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:224:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:224:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:229:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:229:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:234:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:234:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:242:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:242:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-keylist.c:248:17: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:248:15: branch_true: following ‘true’ branch (when the strings are equal)...
gpgme-1.24.3/tests/run-keylist.c:251:14: branch_true: ...to here
gpgme-1.24.3/tests/run-keylist.c:251:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-keylist.c:253:25: branch_false: ...to here
gpgme-1.24.3/tests/run-keylist.c:254:19: danger: ‘trust_model’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
gpgme-1.24.3/tests/run-support.h:138:3: warning[-Wanalyzer-malloc-leak]: leak of ‘import_options’
gpgme-1.24.3/tests/run-import.c:60:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/run-import.c:75:6: branch_true: following ‘true’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:76:7: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:77:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-import.c:80:12: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:80:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:85:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:85:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:87:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:115:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-import.c:117:28: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:117:28: acquire_memory: allocated here
gpgme-1.24.3/tests/run-import.c:146:6: branch_false: following ‘false’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:149:3: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:149:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
gpgme-1.24.3/tests/run-support.h:138:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
gpgme-1.24.3/tests/run-support.h:138:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
gpgme-1.24.3/tests/run-support.h:140:3: warning[-Wanalyzer-malloc-leak]: leak of ‘import_options’
gpgme-1.24.3/tests/run-import.c:60:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/run-import.c:75:6: branch_true: following ‘true’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:76:7: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:77:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-import.c:80:12: branch_true: ...to here
gpgme-1.24.3/tests/run-import.c:80:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:85:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:85:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
gpgme-1.24.3/tests/run-import.c:87:17: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:115:14: branch_false: following ‘false’ branch (when ‘argc != 1’)...
gpgme-1.24.3/tests/run-import.c:117:28: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:117:28: acquire_memory: allocated here
gpgme-1.24.3/tests/run-import.c:146:6: branch_false: following ‘false’ branch (when ‘argc != 0’)...
gpgme-1.24.3/tests/run-import.c:149:3: branch_false: ...to here
gpgme-1.24.3/tests/run-import.c:149:3: call_function: calling ‘init_gpgme’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
gpgme-1.24.3/tests/run-support.h:140:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
gpgme-1.24.3/tests/run-support.h:140:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
gpgme-1.24.3/tests/run-support.h:142:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
gpgme-1.24.3/tests/run-support.h:142:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:187:3: call_function: calling ‘init_gpgme_basic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
gpgme-1.24.3/tests/run-threaded.c:232:8: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
gpgme-1.24.3/tests/run-threaded.c:236:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
gpgme-1.24.3/tests/run-threaded.c:241:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
gpgme-1.24.3/tests/run-threaded.c:244:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
gpgme-1.24.3/tests/run-threaded.c:246:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
gpgme-1.24.3/tests/run-threaded.c:255:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:283:1: enter_function: entry to ‘random_data_new’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_true: following ‘true’ branch (when ‘data_rand == 2’)...
gpgme-1.24.3/tests/run-threaded.c:328:13: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:328:13: call_function: calling ‘get_file’ from ‘random_data_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
gpgme-1.24.3/tests/run-threaded.c:259:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
gpgme-1.24.3/tests/run-threaded.c:233:6: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:241:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:241:6: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:250:12: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:251:9: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:252:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
gpgme-1.24.3/tests/run-threaded.c:259:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:259:7: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def284]
gpgme-1.24.3/tests/run-threaded.c:288: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
gpgme-1.24.3/tests/run-threaded.c:288:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: this call could return NULL
gpgme-1.24.3/tests/run-threaded.c:288:3: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
gpgme-1.24.3/tests/run-threaded.c:304:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_true: following ‘true’ branch (when ‘data_rand == 0’)...
gpgme-1.24.3/tests/run-threaded.c:301:24: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:302:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-threaded.c:304:11: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:304:11: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
gpgme-1.24.3/tests/run-threaded.c:306:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "rb")’
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_true: following ‘true’ branch (when ‘data_rand == 0’)...
gpgme-1.24.3/tests/run-threaded.c:301:24: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:301:24: acquire_resource: opened here
gpgme-1.24.3/tests/run-threaded.c:302:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:306:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:306:7: danger: ‘fopen(fname, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
gpgme-1.24.3/tests/run-threaded.c:306:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "rb")’
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_true: following ‘true’ branch (when ‘data_rand == 0’)...
gpgme-1.24.3/tests/run-threaded.c:301:24: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:301:24: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:302:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:306:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:306:7: danger: ‘fopen(fname, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
gpgme-1.24.3/tests/run-threaded.c:306:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_true: following ‘true’ branch (when ‘data_rand == 0’)...
gpgme-1.24.3/tests/run-threaded.c:301:24: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:302:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:306:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:306:7: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
gpgme-1.24.3/tests/run-threaded.c:312:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_true: following ‘true’ branch (when ‘data_rand == 1’)...
gpgme-1.24.3/tests/run-threaded.c:312:16: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:312:16: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
gpgme-1.24.3/tests/run-threaded.c:316:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_true: following ‘true’ branch (when ‘data_rand == 1’)...
gpgme-1.24.3/tests/run-threaded.c:312:16: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:314:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-threaded.c:316:11: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:316:11: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
gpgme-1.24.3/tests/run-threaded.c:318:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fname, 0)’
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_true: following ‘true’ branch (when ‘data_rand == 1’)...
gpgme-1.24.3/tests/run-threaded.c:312:16: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:312:16: acquire_resource: opened here
gpgme-1.24.3/tests/run-threaded.c:314:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:318:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:318:7: danger: ‘open(fname, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
gpgme-1.24.3/tests/run-threaded.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_true: following ‘true’ branch (when ‘data_rand == 1’)...
gpgme-1.24.3/tests/run-threaded.c:312:16: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:314:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:318:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:318:7: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
gpgme-1.24.3/tests/run-threaded.c:341:31: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: following ‘false’ branch (when ‘data_rand != 2’)...
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_true: following ‘true’ branch (when ‘data_rand == 3’)...
gpgme-1.24.3/tests/run-threaded.c:341:31: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:341:31: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
gpgme-1.24.3/tests/run-threaded.c:345:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: following ‘false’ branch (when ‘data_rand != 2’)...
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_true: following ‘true’ branch (when ‘data_rand == 3’)...
gpgme-1.24.3/tests/run-threaded.c:341:31: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:343:10: branch_true: following ‘true’ branch...
gpgme-1.24.3/tests/run-threaded.c:345:11: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:345:11: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
gpgme-1.24.3/tests/run-threaded.c:348:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
gpgme-1.24.3/tests/run-threaded.c:285:16: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:299:6: branch_false: following ‘false’ branch (when ‘data_rand != 0’)...
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:310:6: branch_false: following ‘false’ branch (when ‘data_rand != 1’)...
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:323:6: branch_false: following ‘false’ branch (when ‘data_rand != 2’)...
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:339:6: branch_true: following ‘true’ branch (when ‘data_rand == 3’)...
gpgme-1.24.3/tests/run-threaded.c:341:31: branch_true: ...to here
gpgme-1.24.3/tests/run-threaded.c:343:10: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:348:7: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:348:7: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def297]
gpgme-1.24.3/tests/run-threaded.c:571:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file_name, "rb")’
gpgme-1.24.3/tests/run-threaded.c:562:13: acquire_resource: opened here
gpgme-1.24.3/tests/run-threaded.c:565:6: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:571:3: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:571:3: danger: ‘fopen(file_name, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
gpgme-1.24.3/tests/run-threaded.c:571:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file_name, "rb")’
gpgme-1.24.3/tests/run-threaded.c:562:13: acquire_memory: allocated here
gpgme-1.24.3/tests/run-threaded.c:565:6: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/run-threaded.c:571:3: branch_false: ...to here
gpgme-1.24.3/tests/run-threaded.c:571:3: danger: ‘fopen(file_name, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def299]
gpgme-1.24.3/tests/run-threaded.c:762: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: msg_it
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
gpgme-1.24.3/tests/t-data.c:100:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
gpgme-1.24.3/tests/t-data.c:100:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
gpgme-1.24.3/tests/t-data.c:109:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
gpgme-1.24.3/tests/t-data.c:109:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
gpgme-1.24.3/tests/t-data.c:126:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
gpgme-1.24.3/tests/t-data.c:126:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
gpgme-1.24.3/tests/t-data.c:137:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
gpgme-1.24.3/tests/t-data.c:137:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
gpgme-1.24.3/tests/t-data.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
gpgme-1.24.3/tests/t-data.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
gpgme-1.24.3/tests/t-data.c:149:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
gpgme-1.24.3/tests/t-data.c:149:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
gpgme-1.24.3/tests/t-data.c:151:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
gpgme-1.24.3/tests/t-data.c:151:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: branch_false: following ‘false’ branch (when ‘err == 0’)...
gpgme-1.24.3/tests/t-data.c:266:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:266:7: call_function: calling ‘read_test’ from ‘main’
gpgme-1.24.3/tests/t-data.c:266:7: return_function: returning to ‘main’ from ‘read_test’
gpgme-1.24.3/tests/t-data.c:267:7: call_function: calling ‘write_test’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
gpgme-1.24.3/tests/t-data.c:194:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:194:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
gpgme-1.24.3/tests/t-data.c:194:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:194:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
gpgme-1.24.3/tests/t-data.c:195:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
gpgme-1.24.3/tests/t-data.c:195:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
gpgme-1.24.3/tests/t-data.c:203:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:203:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
gpgme-1.24.3/tests/t-data.c:203:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:203:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
gpgme-1.24.3/tests/t-data.c:206:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:206:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
gpgme-1.24.3/tests/t-data.c:206:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:206:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
gpgme-1.24.3/tests/t-data.c:209:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:209:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
gpgme-1.24.3/tests/t-data.c:209:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:209:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
gpgme-1.24.3/tests/t-data.c:212:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:212:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
gpgme-1.24.3/tests/t-data.c:212:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:212:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
gpgme-1.24.3/tests/t-data.c:215:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:215:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
gpgme-1.24.3/tests/t-data.c:215:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:215:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
gpgme-1.24.3/tests/t-data.c:216:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:216:14: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
gpgme-1.24.3/tests/t-data.c:216:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:216:14: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
gpgme-1.24.3/tests/t-data.c:224:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:224:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
gpgme-1.24.3/tests/t-data.c:224:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:224:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
gpgme-1.24.3/tests/t-data.c:231:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:231:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
gpgme-1.24.3/tests/t-data.c:231:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:231:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
gpgme-1.24.3/tests/t-data.c:235:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:235:17: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
gpgme-1.24.3/tests/t-data.c:235:17: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:235:17: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
gpgme-1.24.3/tests/t-data.c:237:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:237:14: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
gpgme-1.24.3/tests/t-data.c:237:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:237:14: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
gpgme-1.24.3/tests/t-data.c:247:16: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:247:16: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
gpgme-1.24.3/tests/t-data.c:247:16: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:247:16: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
gpgme-1.24.3/tests/t-data.c:253:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(make_filename("t-data-2.txt"), "rb")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:246:24: acquire_resource: opened here
gpgme-1.24.3/tests/t-data.c:247:16: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:253:19: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:253:19: danger: ‘fopen(make_filename("t-data-2.txt"), "rb")’ leaks here; was opened at [(20)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
gpgme-1.24.3/tests/t-data.c:253:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(make_filename("t-data-2.txt"), "rb")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:246:24: acquire_memory: allocated here
gpgme-1.24.3/tests/t-data.c:247:16: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:253:19: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:253:19: danger: ‘fopen(make_filename("t-data-2.txt"), "rb")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
gpgme-1.24.3/tests/t-data.c:253:19: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:247:16: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:253:19: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:253:19: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
gpgme-1.24.3/tests/t-data.c:253:19: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:247:16: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:253:19: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:253:19: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
gpgme-1.24.3/tests/t-data.c:264:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: danger: ‘make_filename("t-data-1.txt")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
gpgme-1.24.3/tests/t-data.c:264:7: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.3/tests/t-data.c:178:1: enter_function: entry to ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:181:25: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:182:32: call_function: calling ‘make_filename’ from ‘main’
gpgme-1.24.3/tests/t-data.c:182:32: return_function: returning to ‘main’ from ‘make_filename’
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:195:14: branch_false: following ‘false’ branch...
gpgme-1.24.3/tests/t-data.c:191:7: branch_false: ...to here
gpgme-1.24.3/tests/t-data.c:189:10: branch_true: following ‘true’ branch (when ‘round != 0’)...
gpgme-1.24.3/tests/t-data.c:191:7: branch_true: ...to here
gpgme-1.24.3/tests/t-data.c:264:7: danger: ‘make_filename("t-data-2.txt")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/8)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-45.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | gpgme-1.24.3-6.fc44 |
| store-results-to | /tmp/tmp8l057b2i/gpgme-1.24.3-6.fc44.tar.xz |
| time-created | 2025-10-28 18:16:06 |
| time-finished | 2025-10-28 18:23:54 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp8l057b2i/gpgme-1.24.3-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp8l057b2i/gpgme-1.24.3-6.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |