gpgme-1.24.0-1.fc42
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: COMPILER_WARNING (CWE-457): [#def7]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:3959:10: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_error_t_p_assign’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:49009:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def8]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_seek’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4157:14: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4118:9: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def9]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4717:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4698:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def10]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror_r’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4772:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4729:15: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def11]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strsource’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4813:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4794:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def12]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_code_to_errno’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4874:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4855:20: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def13]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_make_from_errno’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4959:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:4933:22: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def14]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_key_sig_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:8763:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:8739:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def15]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_invalid_key_reason_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:13035:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:13011:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def16]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:14711:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:14687:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def17]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_op_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:14778:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:14754:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def18]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_new_from_filepart’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:16767:14: warning[-Wmaybe-uninitialized]: ‘arg4’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:16703:9: note: ‘arg4’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def19]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_recipient_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:21693:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:21669:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def20]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:27384:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:27360:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def21]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_validity_reason_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:28083:39: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:28059:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def22]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_import_status_result_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:31689:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:31665:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def23]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys_start’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:33660:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:33588:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def24]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:33746:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:33674:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def25]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext_start’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:34539:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:34334:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def26]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:34855:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:34650:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def27]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_keylist_ext_start’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:40191:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:40105:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def28]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn_start’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:41760:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:41635:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def29]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:41905:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:41780:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def30]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_op_assuan_result_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:48296:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/gpgme_wrap.c:48272:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-477): [#def31]
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/helpers.c: scope_hint: In function ‘_gpg_stash_callback_exception’
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
/usr/include/python3.13/Python.h:113: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/build-qt6/lang/python/python3.13-gpg/helpers.c:30: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
Error: COMPILER_WARNING (CWE-457): [#def32]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:3959:10: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_error_t_p_assign’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:49009:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def33]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_seek’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4157:14: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4118:9: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def34]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4717:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4698:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def35]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strerror_r’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4772:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4729:15: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def36]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_strsource’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4813:22: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4794:17: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def37]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_code_to_errno’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4874:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4855:20: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def38]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_err_make_from_errno’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4959:14: warning[-Wmaybe-uninitialized]: ‘arg1’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:4933:22: note: ‘arg1’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def39]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_key_sig_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:8763:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:8739:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def40]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_invalid_key_reason_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:13035:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:13011:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def41]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:14711:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:14687:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def42]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_io_event_done_data_op_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:14778:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:14754:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def43]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_data_new_from_filepart’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:16767:14: warning[-Wmaybe-uninitialized]: ‘arg4’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:16703:9: note: ‘arg4’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def44]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_recipient_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:21693:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:21669:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def45]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_status_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:27384:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:27360:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def46]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_signature_validity_reason_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:28083:39: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:28059:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def47]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_import_status_result_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:31689:30: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:31665:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def48]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys_start’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:33660:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:33588:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def49]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_receive_keys’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:33746:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:33674:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def50]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext_start’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:34539:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:34334:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def51]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_export_ext’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:34855:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:34650:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def52]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_keylist_ext_start’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:40191:19: warning[-Wmaybe-uninitialized]: ‘size2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:40105:10: note: ‘size2’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def53]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn_start’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:41760:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:41635:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def54]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap_gpgme_op_spawn’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:41905:19: warning[-Wmaybe-uninitialized]: ‘size3’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:41780:10: note: ‘size3’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def55]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c: scope_hint: In function ‘_wrap__gpgme_op_assuan_result_err_set’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:48296:27: warning[-Wmaybe-uninitialized]: ‘arg2’ may be used uninitialized
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/gpgme_wrap.c:48272:17: note: ‘arg2’ was declared here
Error: COMPILER_WARNING (CWE-477): [#def56]
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/helpers.c: scope_hint: In function ‘_gpg_stash_callback_exception’
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/helpers.c:119:3: warning[-Wdeprecated-declarations]: ‘PyWeakref_GetObject’ is deprecated
/usr/include/python3.13/Python.h:113: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/build/lang/python/python3.13-gpg/helpers.c:30: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
gpgme-1.24.0-build/gpgme-1.24.0/doc/mkdefsinc.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/doc/mkdefsinc.c:199:27: warning[-Wanalyzer-malloc-leak]: leak of ‘opt_date’
Error: CPPCHECK_WARNING (CWE-457): [#def58]
gpgme-1.24.0-build/gpgme-1.24.0/doc/mkdefsinc.c:289: warning[uninitvar]: Uninitialized variable: monthoff
Error: COMPILER_WARNING (CWE-477): [#def59]
gpgme-1.24.0-build/gpgme-1.24.0/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.0-build/gpgme-1.24.0/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.0-build/gpgme-1.24.0/lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp:42: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:488:22: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def60]
gpgme-1.24.0-build/gpgme-1.24.0/lang/qt/src/qgpgmenewcryptoconfig.cpp: scope_hint: In member function 'virtual void QGpgMENewCryptoConfig::sync(bool)'
gpgme-1.24.0-build/gpgme-1.24.0/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:57: included_from: Included from here.
/usr/include/qt6/QtCore/qnamespace.h:12: included_from: Included from here.
/usr/include/qt6/QtCore/qbytearray.h:9: included_from: Included from here.
/usr/include/qt6/QtCore/qurl.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/QUrl:1: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/lang/qt/src/cryptoconfig.h:43: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/lang/qt/src/qgpgmenewcryptoconfig.h:39: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/lang/qt/src/qgpgmenewcryptoconfig.cpp:39: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def61]
gpgme-1.24.0-build/gpgme-1.24.0/src/data-identify.c: scope_hint: In function 'basic_detection'
gpgme-1.24.0-build/gpgme-1.24.0/src/data-identify.c:453:20: warning[-Wanalyzer-deref-before-check]: check of 'data' for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
gpgme-1.24.0-build/gpgme-1.24.0/src/data.c: scope_hint: In function '_gpgme_data_inbound_handler'
gpgme-1.24.0-build/gpgme-1.24.0/src/data.c:624:14: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*dh.io_buffer_size)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
gpgme-1.24.0-build/gpgme-1.24.0/src/data.c: scope_hint: In function '_gpgme_data_outbound_handler'
gpgme-1.24.0-build/gpgme-1.24.0/src/data.c:684:14: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*dh.io_buffer_size)'
Error: CPPCHECK_WARNING (CWE-457): [#def64]
gpgme-1.24.0-build/gpgme-1.24.0/src/decrypt-verify.c:48: warning[uninitvar]: Uninitialized variable: err2
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
gpgme-1.24.0-build/gpgme-1.24.0/src/engine-gpgsm.c: scope_hint: In function 'gpgsm_export.part.0'
gpgme-1.24.0-build/gpgme-1.24.0/src/engine-gpgsm.c:1628:12: warning[-Wanalyzer-malloc-leak]: leak of 'cmd'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
gpgme-1.24.0-build/gpgme-1.24.0/src/engine-gpgsm.c: scope_hint: In function 'gpgsm_export_ext.part.0'
gpgme-1.24.0-build/gpgme-1.24.0/src/engine-gpgsm.c:1735:12: warning[-Wanalyzer-malloc-leak]: leak of 'line'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c: scope_hint: In function ‘put_membuf.part.0’
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c:140:3: warning[-Wanalyzer-null-argument]: use of NULL ‘mb.buf’ where non-null expected
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c: scope_hint: In function ‘put_membuf.part.0’
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c:29: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c: scope_hint: In function ‘put_membuf.part.0’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-562): [#def68]
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c:3314: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def69]
gpgme-1.24.0-build/gpgme-1.24.0/src/gpgme-tool.c:3316: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def70]
gpgme-1.24.0-build/gpgme-1.24.0/src/key.c: scope_hint: In function 'gpgme_key_from_uid'
gpgme-1.24.0-build/gpgme-1.24.0/src/key.c:470:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'key'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c: scope_hint: In function '_gpgme_io_spawn'
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:648:38: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/null", 2)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:650:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 0)'
Error: GCC_ANALYZER_WARNING: [#def73]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:650:23: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '0'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:655:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 1)'
Error: GCC_ANALYZER_WARNING: [#def75]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:655:23: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '1'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
gpgme-1.24.0-build/gpgme-1.24.0/src/posix-io.c:660:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(open("/dev/null", 2), 2)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
gpgme-1.24.0-build/gpgme-1.24.0/src/sign.c:207:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
gpgme-1.24.0-build/gpgme-1.24.0/src/sign.c: scope_hint: In function 'parse_sig_created'
gpgme-1.24.0-build/gpgme-1.24.0/src/sign.c:207:12: warning[-Wanalyzer-malloc-leak]: leak of 'sig'
Error: GCC_ANALYZER_WARNING (CWE-787): [#def79]
gpgme-1.24.0-build/gpgme-1.24.0/src/signers.c: scope_hint: In function 'gpgme_signers_add'
gpgme-1.24.0-build/gpgme-1.24.0/src/signers.c:85:19: warning[-Wanalyzer-out-of-bounds]: buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'parse_valid_sig'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:429:6: warning[-Wanalyzer-malloc-leak]: leak of '*sig.fpr'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def81]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:433:9: warning[-Wanalyzer-null-argument]: use of NULL 'end' where non-null expected
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'parse_tofu_user'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:757:10: warning[-Wanalyzer-malloc-leak]: leak of 'fpr'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function '_gpgme_verify_status_handler'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:1014:24: warning[-Wanalyzer-malloc-leak]: leak of '*sig.pka_address'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'gpgme_get_sig_key'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:1239:7: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:32: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:100:7: note: in expansion of macro 'TRACE_SUC'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'gpgme_get_sig_status'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:1265:7: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:100:7: note: in expansion of macro 'TRACE_SUC'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'gpgme_get_sig_ulong_attr'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:1328:7: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:100:7: note: in expansion of macro 'TRACE_SUC'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c: scope_hint: In function 'gpgme_get_sig_string_attr'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:1392:7: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
gpgme-1.24.0-build/gpgme-1.24.0/src/verify.c:100:7: note: in expansion of macro 'TRACE_SUC'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
gpgme-1.24.0-build/gpgme-1.24.0/src/wait.c: scope_hint: In function '_gpgme_add_io_cb'
gpgme-1.24.0-build/gpgme-1.24.0/src/wait.c:142:10: warning[-Wanalyzer-malloc-leak]: leak of 'item'
gpgme-1.24.0-build/gpgme-1.24.0/src/wait.c:27: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/src/wait.c:40: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/src/wait.c:139:3: note: in expansion of macro 'TRACE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt.c:36: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:48:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt.c:55:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt.c:55:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt-verify.c:36: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt-verify.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:48:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-2.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt-verify.c:125:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-decrypt-verify.c:125:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:35: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:48:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("pubkey-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:48:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("seckey-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-import.c:228:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-thread1.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cipher-1.asc")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-support.h:219:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpg/t-thread1.c:112:7: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:155:3: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:122:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:153:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def97]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-keylist.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/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.0-build/gpgme-1.24.0/tests/gpgsm/t-keylist.c:34: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:122:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-keylist.c:95:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-keylist.c:99:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:35: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:36:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca01.der")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:153:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:122:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:153:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:36:10: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("cert_dfn_pca15.der")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:153:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-support.h:122:3: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/gpgsm/t-import.c:153:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-keylist.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-keylist.c:254:23: warning[-Wanalyzer-malloc-leak]: leak of ‘trust_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c: scope_hint: In function ‘random_data_new’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:288:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:43: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-support.h:40:11: note: in definition of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:571:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c: scope_hint: In function ‘verify’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:290:7: warning[-Wanalyzer-malloc-leak]: leak of ‘random_data_new(fname)’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-support.h:40:11: note: in definition of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:571:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-threaded.c:762:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘msg_it’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-verify.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-verify.c:418:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*argv, "rb")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-verify.c:36: included_from: Included from here.
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-support.h:154:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-verify.c:418:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*argv, "rb")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/run-support.h:154:3: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:37:31: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:264:7: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:264:7: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:37:31: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:264:7: note: in expansion of macro ‘fail_if_err’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:264:7: note: in expansion of macro ‘fail_if_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c: scope_hint: In function ‘main’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:195:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:34: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:195:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:216:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:216:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:237:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:237:14: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:247:16: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-1.txt")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
gpgme-1.24.0-build/gpgme-1.24.0/tests/t-data.c:247:16: warning[-Wanalyzer-malloc-leak]: leak of ‘make_filename("t-data-2.txt")’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-232.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | gpgme-1.24.0-1.fc42 |
store-results-to | /tmp/tmp1_0knd0h/gpgme-1.24.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:09:36 |
time-finished | 2024-11-13 00:17:07 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp1_0knd0h/gpgme-1.24.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp1_0knd0h/gpgme-1.24.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |