gnome-keyring-46.1-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/control/gkd-control-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/control/gkd-control-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-daemon-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def4]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def5]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-internal-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def6]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-portal-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def7]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-portal-request-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def8]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-change.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-create.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-objects.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def11]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-objects.c:638:25: warning[core.NullDereference]: Dereference of null pointer
# 636|
# 637| /* Is not locked */
# 638|-> } if (n_value == 1 && *((CK_BBOOL*)value) == CK_FALSE) {
# 639| *unlocked = g_list_prepend (*unlocked, l->data);
# 640|
Error: CLANG_WARNING: [#def12]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-objects.c:1443:13: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1441| if (!value) {
# 1442| g_warning ("setting locked state on item %s, but no property value: %s",
# 1443|-> path, error->message);
# 1444| g_error_free (error);
# 1445| return;
Error: CLANG_WARNING: [#def13]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-objects.c:1476:24: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1474| if (!value) {
# 1475| g_warning ("setting locked state on item %s, but no property value: %s",
# 1476|-> collection_path, error->message);
# 1477| g_error_free (error);
# 1478| return;
Error: CPPCHECK_WARNING: [#def14]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def15]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-property.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def16]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-service.c: scope_hint: In function 'gkd_secret_service_init_collections'
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-service.c:950:34: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
# 948| gint idx;
# 949|
# 950|-> for (idx = 0; collections[idx] != NULL; idx++)
# 951| gkd_secret_objects_register_collection (self->objects, collections[idx]);
# 952|
Error: CPPCHECK_WARNING: [#def18]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def19]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secret-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def20]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/gkd-secrets-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def21]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/test-dbus-items.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def22]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/test-dbus-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def23]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/dbus/test-dbus-signals.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING: [#def24]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c: scope_hint: In function ‘sane_dup2’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c:435:15: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fd1’
# 433|
# 434| retry:
# 435|-> ret = dup2 (fd1, fd2);
# 436| if (ret < 0 && errno == EINTR)
# 437| goto retry;
Error: COMPILER_WARNING (CWE-252): [#def25]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c: scope_hint: In function ‘block_on_fd’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c:627:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 627 | read (fd, &dummy, 1);
# | ^~~~~~~~~~~~~~~~~~~~
# 625| {
# 626| unsigned char dummy;
# 627|-> read (fd, &dummy, 1);
# 628| }
# 629|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def26]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c: scope_hint: In function ‘main’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c:1161:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(2, 1)’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-glue.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c:26: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-main.c:739:9: note: in expansion of macro ‘g_assert’
# 1159| * valid output anyway.
# 1160| */
# 1161|-> if (dup2 (2, 1) < 1)
# 1162| g_warning ("couldn't redirect stdout to stderr");
# 1163|
Error: CPPCHECK_WARNING: [#def27]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/gkd-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def28]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/login/gkd-login.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def29]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/gkd-ssh-agent-service.c:317:12: warning[deadcode.DeadStores]: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'
# 315| /* Handle the request */
# 316| error = NULL;
# 317|-> while (!(ret = handle_request (self, agent_connection, &req, &resp, self->cancellable, &error))) {
# 318| if (gkd_ssh_agent_process_get_pid (self->process) != 0) {
# 319| if (error->code != G_IO_ERROR_CANCELLED)
Error: CPPCHECK_WARNING: [#def30]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/gkd-ssh-agent-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def31]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c:229:2: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 227|
# 228| public_key = public_key_from_file (SRCDIR "/pkcs11/ssh-store/fixtures/id_rsa_plain.pub", &comment);
# 229|-> g_free (comment);
# 230| blob = g_bytes_get_data (public_key, &length);
# 231|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def32]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c: scope_hint: In function 'prepare_remove_identity'
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c:229:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'comment'
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.h:23: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmessages.h:358:32: note: in definition of macro 'g_message'
# 227|
# 228| public_key = public_key_from_file (SRCDIR "/pkcs11/ssh-store/fixtures/id_rsa_plain.pub", &comment);
# 229|-> g_free (comment);
# 230| blob = g_bytes_get_data (public_key, &length);
# 231|
Error: CLANG_WARNING: [#def33]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c:302:2: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 300|
# 301| public_key = public_key_from_file (SRCDIR "/pkcs11/ssh-store/fixtures/id_rsa_plain.pub", &comment);
# 302|-> g_free (comment);
# 303| blob = g_bytes_get_data (public_key, &length);
# 304|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c: scope_hint: In function 'prepare_sign_request'
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-common.c:302:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'comment'
/usr/include/glib-2.0/glib/gmessages.h:358:32: note: in definition of macro 'g_message'
# 300|
# 301| public_key = public_key_from_file (SRCDIR "/pkcs11/ssh-store/fixtures/id_rsa_plain.pub", &comment);
# 302|-> g_free (comment);
# 303| blob = g_bytes_get_data (public_key, &length);
# 304|
Error: CPPCHECK_WARNING: [#def35]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-interaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def36]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-preload.c: scope_hint: In function ‘test_changed’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:140:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/gkd-ssh-agent-preload.h:27: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:255:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:139:9: note: in expansion of macro ‘g_assert_nonnull’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:139:9: note: in expansion of macro ‘g_assert_nonnull’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 138| p = strchr (contents, '\n');
# 139| g_assert_nonnull (p);
# 140|-> memcpy (p, " " COMMENT "\n", strlen (COMMENT) + 2);
# 141| error = NULL;
# 142| ret = g_file_set_contents (path, contents, length + strlen (COMMENT), &error);
Error: CPPCHECK_WARNING: [#def37]
gnome-keyring-46.1-build/gnome-keyring-46.1/daemon/ssh-agent/test-gkd-ssh-agent-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def38]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/dotlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-252): [#def39]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/dotlock.c: scope_hint: In function 'use_hardlinks_p'
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/dotlock.c:586:3: warning[-Wunused-result]: ignoring return value of 'link' declared with attribute 'warn_unused_result'
# 586 | link (tname, lname);
# | ^~~~~~~~~~~~~~~~~~~
# 584| strcat (lname, "x");
# 585|
# 586|-> link (tname, lname);
# 587|
# 588| if (stat (tname, &sb))
Error: COMPILER_WARNING (CWE-252): [#def40]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/dotlock.c: scope_hint: In function 'dotlock_take_unix'
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/dotlock.c:1007:7: warning[-Wunused-result]: ignoring return value of 'link' declared with attribute 'warn_unused_result'
# 1007 | link (h->tname, h->lockname);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1005| struct stat sb;
# 1006|
# 1007|-> link (h->tname, h->lockname);
# 1008|
# 1009| if (stat (h->tname, &sb))
Error: CPPCHECK_WARNING: [#def41]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-armor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c: scope_hint: In function 'anode_failure'
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c:528:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 'node'
# 526| anode_failure (GNode *node, const gchar *failure)
# 527| {
# 528|-> Anode *an = node->data;
# 529| const gchar *prefix = an->def->name;
# 530| if (!prefix && an->join)
Error: CPPCHECK_WARNING (CWE-457): [#def44]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c:1000: error[uninitvar]: Uninitialized variable: tag
# 998| if (anode_def_type (node) == EGG_ASN1X_SET) {
# 999| for (ctlv = tlv->child, i = 0; ctlv != NULL; ctlv = ctlv->next, i++) {
# 1000|-> if (i > 0 && tag > ctlv->tag)
# 1001| return anode_failure (node, "content must be in ascending order");
# 1002| tag = ctlv->tag;
Error: CPPCHECK_WARNING (CWE-457): [#def45]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c:2208: error[legacyUninitvar]: Uninitialized variable: ret
# 2206| g_return_val_if_reached (FALSE);
# 2207|
# 2208|-> if (!ret)
# 2209| return anode_failure (node, "invalid time content");
# 2210|
Error: CPPCHECK_WARNING (CWE-457): [#def46]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-asn1x.c:2444: error[legacyUninitvar]: Uninitialized variable: value
# 2442| g_return_val_if_reached (FALSE);
# 2443|
# 2444|-> anode_write_boolean (value, NULL, &len);
# 2445| data = g_malloc (len);
# 2446| anode_write_boolean (value, data, &len);
Error: CPPCHECK_WARNING: [#def47]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def48]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-byte-array.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def49]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-dh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def50]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-dn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def51]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-file-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def52]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-hex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def53]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-hkdf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def54]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-libgcrypt.c: scope_hint: In function 'egg_libgcrypt_initialize'
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-libgcrypt.c:76:25: warning[-Wdeprecated-declarations]: 'gcry_set_log_handler' is deprecated
# 76 | gcry_set_log_handler (log_handler, NULL);
# | ^~~~~~~~~~~~~~~~~~~~
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-libgcrypt.c:28: included_from: Included from here.
/usr/include/gcrypt.h:2025:6: note: declared here
# 2025 | void gcry_set_log_handler (gcry_handler_log_t f,
# | ^~~~~~~~~~~~~~~~~~~~
# 74| #endif
# 75| gcry_check_version (LIBGCRYPT_VERSION);
# 76|-> gcry_set_log_handler (log_handler, NULL);
# 77| gcry_set_outofcore_handler (no_mem_handler, NULL);
# 78| gcry_set_fatalerror_handler (fatal_handler, NULL);
Error: CPPCHECK_WARNING: [#def55]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-openssl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def56]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-padding.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def57]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-secure-memory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def58]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-secure-memory.c: scope_hint: In function 'egg_secure_strndup_full'
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-secure-memory.c:1359:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
# 1357| len = length + 1;
# 1358| res = (char *)egg_secure_alloc_full (tag, len, options);
# 1359|-> memcpy (res, str, len);
# 1360| res[length] = '\0';
# 1361| return res;
Error: CPPCHECK_WARNING: [#def59]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-symkey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def60]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-symkey.c:884:9: warning[deadcode.DeadStores]: Although the value stored to 'mode' is used in the enclosing expression, the value is never actually read from 'mode'
# 882| goto done;
# 883|
# 884|-> algo = mode = 0;
# 885|
# 886| /* Read in all the encryption type */
Error: CLANG_WARNING: [#def61]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-symkey.c:1025:2: warning[unix.Malloc]: Attempt to free released memory
# 1023| if (salt != NULL)
# 1024| g_bytes_unref (salt);
# 1025|-> g_free (iv);
# 1026| egg_secure_free (key);
# 1027| egg_asn1x_destroy (asn);
Error: CPPCHECK_WARNING: [#def62]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-asn1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def63]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-dh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def64]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-file-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def65]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-hkdf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-openssl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def68]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:48:12: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 46| g_assert (result != NULL);
# 47| egg_assert_cmpsize (n_output, ==, n_result);
# 48|-> g_assert (memcmp (output, result, n_output) == 0);
# 49| g_free (result);
# 50|
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-padding.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:25: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c: scope_hint: In function ‘check_padding’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:48:19: warning[-Wanalyzer-null-argument]: use of NULL ‘output’ where non-null expected
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:48:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:46:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:46:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
/usr/include/glib-2.0/glib/gtestutils.h:79:75: note: in definition of macro ‘g_assert_cmpuint’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:47:9: note: in expansion of macro ‘egg_assert_cmpsize’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-padding.c:48:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 1 of ‘memcmp’ must be non-null
# 46| g_assert (result != NULL);
# 47| egg_assert_cmpsize (n_output, ==, n_result);
# 48|-> g_assert (memcmp (output, result, n_output) == 0);
# 49| g_free (result);
# 50|
Error: CPPCHECK_WARNING: [#def70]
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/test-secmem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def71]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-client.c:447:5: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 445| syslog (GKR_LOG_ERR, "gkr-pam: couldn't wait on child process: %s",
# 446| strerror (errno));
# 447|-> res = GKD_CONTROL_RESULT_FAILED;
# 448| }
# 449|
Error: CPPCHECK_WARNING: [#def72]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def73]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c: scope_hint: In function 'setup_selinux_context'
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:322:9: warning[-Wdeprecated-declarations]: 'security_context_t' is deprecated
# 320| */
# 321| static void setup_selinux_context(const char *command) {
# 322|-> security_context_t fcon = NULL, newcon = NULL, execcon = NULL;
# 323|
# 324| if (is_selinux_enabled() != 1) return;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c: scope_hint: In function 'setup_child'
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:372:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(*inp, 0)'
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:36: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:43: included_from: Included from here.
# 370|
# 371| /* Fix up our end of the pipes */
# 372|-> if (dup2 (inp[READ_END], STDIN) < 0 ||
# 373| dup2 (outp[WRITE_END], STDOUT) < 0 ||
# 374| dup2 (errp[WRITE_END], STDERR) < 0) {
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:372:45: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(outp[1], 1)'
# 370|
# 371| /* Fix up our end of the pipes */
# 372|-> if (dup2 (inp[READ_END], STDIN) < 0 ||
# 373| dup2 (outp[WRITE_END], STDOUT) < 0 ||
# 374| dup2 (errp[WRITE_END], STDERR) < 0) {
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:373:48: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(errp[1], 2)'
# 371| /* Fix up our end of the pipes */
# 372| if (dup2 (inp[READ_END], STDIN) < 0 ||
# 373|-> dup2 (outp[WRITE_END], STDOUT) < 0 ||
# 374| dup2 (errp[WRITE_END], STDERR) < 0) {
# 375| syslog (GKR_LOG_ERR, "gkr-pam: couldn't setup pipes: %s",
Error: CLANG_WARNING: [#def77]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:393:2: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'seteuid' is not checked. If an error occurs in 'seteuid', the following code may execute with unexpected privileges
# 391|
# 392| /* We may be running effective as another user, revert that */
# 393|-> seteuid (getuid ());
# 394| setegid (getgid ());
# 395|
Error: COMPILER_WARNING (CWE-252): [#def78]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c: scope_hint: In function 'setup_child'
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:393:9: warning[-Wunused-result]: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result'
# 393 | seteuid (getuid ());
# | ^~~~~~~~~~~~~~~~~~~
# 391|
# 392| /* We may be running effective as another user, revert that */
# 393|-> seteuid (getuid ());
# 394| setegid (getgid ());
# 395|
Error: CLANG_WARNING: [#def79]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:394:2: warning[security.insecureAPI.UncheckedReturn]: The return value from the call to 'setegid' is not checked. If an error occurs in 'setegid', the following code may execute with unexpected privileges
# 392| /* We may be running effective as another user, revert that */
# 393| seteuid (getuid ());
# 394|-> setegid (getgid ());
# 395|
# 396| /* Setup process credentials */
Error: COMPILER_WARNING (CWE-252): [#def80]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:394:9: warning[-Wunused-result]: ignoring return value of 'setegid' declared with attribute 'warn_unused_result'
# 394 | setegid (getgid ());
# | ^~~~~~~~~~~~~~~~~~~
# 392| /* We may be running effective as another user, revert that */
# 393| seteuid (getuid ());
# 394|-> setegid (getgid ());
# 395|
# 396| /* Setup process credentials */
Error: CLANG_WARNING: [#def81]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/gkr-pam-module.c:946:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 944| ret = unlock_keyring (ph, pwd, password, &need_daemon);
# 945| if (ret != PAM_SUCCESS && need_daemon && (args & ARG_AUTO_START))
# 946|-> ret = start_daemon (ph, pwd, true, password);
# 947| }
# 948|
Error: CPPCHECK_WARNING: [#def82]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/test-pam.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def83]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/test-pam.c:103:20: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 101| break;
# 102| case PAM_PROMPT_ECHO_ON:
# 103|-> aresp[i].resp = strdup (test->password);
# 104| g_assert (aresp[i].resp != NULL);
# 105| break;
Error: CLANG_WARNING: [#def84]
gnome-keyring-46.1-build/gnome-keyring-46.1/pam/test-pam.c:119:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'aresp'
# 117| break;
# 118| default:
# 119|-> return PAM_CONV_ERR;
# 120| }
# 121| }
Error: CPPCHECK_WARNING: [#def85]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-aes-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def86]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-attributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def87]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-certificate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def88]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-credential.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def89]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-crypto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def90]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-data-der.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def91]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-data-der.c:1658:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1656| goto done;
# 1657|
# 1658|-> ret = GKM_DATA_FAILURE;
# 1659|
# 1660| array = g_array_new (TRUE, TRUE, sizeof (GQuark));
Error: COMPILER_WARNING (CWE-252): [#def92]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-debug.c: scope_hint: In function 'on_gkm_log_debug'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-debug.c:81:9: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result'
# 81 | write (1, gstring->str, gstring->len);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 79| message ? message : "(NULL) message");
# 80|
# 81|-> write (1, gstring->str, gstring->len);
# 82| g_string_free (gstring, TRUE);
# 83| }
Error: CPPCHECK_WARNING: [#def93]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-dh-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def94]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-dsa-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def95]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-ecdsa-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def96]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def97]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def98]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c: scope_hint: In function 'gkm_mock_module_set_pin'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c:270:21: warning[-Wanalyzer-null-argument]: use of NULL 'password' where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-attributes.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c:23: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c:269:19: note: in expansion of macro 'g_strdup'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-mock.c: scope_hint: In function 'gkm_mock_module_set_pin'
<built-in>: note: argument 1 of '__builtin_strlen' must be non-null
# 268| g_free (the_pin);
# 269| the_pin = g_strdup (password);
# 270|-> n_the_pin = strlen (password);
# 271| }
# 272|
Error: CPPCHECK_WARNING: [#def99]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def100]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-null-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def101]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def102]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-object.c:658:2: warning[deadcode.DeadStores]: Value stored to 'matched' is never read
# 656| attr.ulValueLen = match->ulValueLen;
# 657|
# 658|-> matched = FALSE;
# 659|
# 660| rv = gkm_object_get_attribute (self, session, &attr);
Error: CPPCHECK_WARNING: [#def103]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-rsa-mechanism.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def104]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-secret.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def105]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def106]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp-key.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-672): [#def107]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c: scope_hint: In function 'gkm_sexp_extract_mpi'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:260:9: warning[-Wanalyzer-va-list-use-after-va-end]: 'va_end' after 'va_end'
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.h:26: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:255:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:256:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:256:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:332:9: note: in expansion of macro 'g_assert'
# 258| va_start (va, mpi);
# 259| at = gkm_sexp_get_childv (sexp, va);
# 260|-> va_end (va);
# 261|
# 262| *mpi = NULL;
Error: GCC_ANALYZER_WARNING (CWE-672): [#def108]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c: scope_hint: In function 'gkm_sexp_extract_string'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:283:9: warning[-Wanalyzer-va-list-use-after-va-end]: 'va_end' after 'va_end'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:278:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:279:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:279:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:332:9: note: in expansion of macro 'g_assert'
# 281| va_start (va, buf);
# 282| at = gkm_sexp_get_childv (sexp, va);
# 283|-> va_end (va);
# 284|
# 285| *buf = NULL;
Error: GCC_ANALYZER_WARNING (CWE-672): [#def109]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c: scope_hint: In function 'gkm_sexp_extract_buffer'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:309:9: warning[-Wanalyzer-va-list-use-after-va-end]: 'va_end' after 'va_end'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:304:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:305:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:305:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-sexp.c:332:9: note: in expansion of macro 'g_assert'
# 307| va_start (va, bufsize);
# 308| at = gkm_sexp_get_childv (sexp, va);
# 309|-> va_end (va);
# 310|
# 311| *buf = NULL;
Error: CPPCHECK_WARNING: [#def110]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def111]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/gkm-transaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def112]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-attributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def113]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-credential.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def114]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-data-asn1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def115]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-data-der.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def116]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def117]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-secret.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def118]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-sexp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def119]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gkm/test-transaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def120]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gnome2-store/gkm-gnome2-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def121]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gnome2-store/gkm-gnome2-file.c:212:2: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 210| egg_buffer_init_full (&buffer, 1024, (EggBufferAllocator)g_realloc);
# 211|
# 212|-> res = GKM_DATA_SUCCESS;
# 213| for (;;) {
# 214|
Error: CPPCHECK_WARNING: [#def122]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gnome2-store/gkm-gnome2-storage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def123]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gnome2-store/test-gnome2-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def124]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/gnome2-store/test-gnome2-storage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def125]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-122): [#def127]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c: scope_hint: In function 'proto_read_null_string'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:541:24: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-private.h:319: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:26: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:1948:9: note: in expansion of macro 'CASE_CALL'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:1948:9: note: in expansion of macro 'CASE_CALL'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:960:9: note: in expansion of macro 'BEGIN_CALL'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:960:9: note: in expansion of macro 'BEGIN_CALL'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:960:9: note: in expansion of macro 'BEGIN_CALL'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:961:17: note: in expansion of macro 'IN_ULONG'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:961:17: note: in expansion of macro 'IN_ULONG'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:962:17: note: in expansion of macro 'IN_BYTE_ARRAY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:962:17: note: in expansion of macro 'IN_BYTE_ARRAY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:962:17: note: in expansion of macro 'IN_BYTE_ARRAY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:962:17: note: in expansion of macro 'IN_BYTE_ARRAY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:963:17: note: in expansion of macro 'IN_STRING'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:963:17: note: in expansion of macro 'IN_STRING'
# 539|
# 540| memcpy (*val, data, n_data);
# 541|-> (*val)[n_data] = 0;
# 542|
# 543| return CKR_OK;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def128]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c: scope_hint: In function 'gkm_rpc_layer_startup'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2371:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'sock'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2358:9: note: in expansion of macro 'GKM_RPC_CHECK_CALLS'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2358:9: note: in expansion of macro 'GKM_RPC_CHECK_CALLS'
/usr/include/glib-2.0/glib/gtestutils.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/egg/egg-error.h:24: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-dispatch.c:31: included_from: Included from here.
# 2369| if (pkcs11_socket_path == NULL) {
# 2370| gkm_rpc_warn ("couldn't allocate memory");
# 2371|-> return -1;
# 2372| }
# 2373| sprintf (pkcs11_socket_path, "%s/pkcs11", prefix);
Error: CPPCHECK_WARNING: [#def129]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def130]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-module.c:106:24: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 104| if (strcmp (arg, "socket") == 0) {
# 105| free (pkcs11_socket_path);
# 106|-> pkcs11_socket_path = strdup (value);
# 107| } else {
# 108| warning (("unrecognized argument: %s", arg));
Error: CLANG_WARNING: [#def131]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-module.c:717:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 715| /* Just requesting the attribute size */
# 716| if (!attr->pValue) {
# 717|-> attr->ulValueLen = attrlen;
# 718|
# 719| /* Wants attribute data, but too small */
Error: CLANG_WARNING: [#def132]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/rpc-layer/gkm-rpc-module.c:720:33: warning[core.UndefinedBinaryOperatorResult]: The right operand of '<' is a garbage value
# 718|
# 719| /* Wants attribute data, but too small */
# 720|-> } else if (attr->ulValueLen < attrlen) {
# 721| attr->ulValueLen = attrlen;
# 722| ret = CKR_BUFFER_TOO_SMALL;
Error: CPPCHECK_WARNING: [#def133]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:888:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:31: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:648:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:649:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:649:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:650:9: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:650:9: note: in expansion of macro ‘g_assert’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c:655:32: note: in expansion of macro ‘FALSE’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/dump-keyring0-format.c: scope_hint: In function ‘transform_keyring_binary_to_text’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 886| /* Copy the data into to_decrypt into non-pageable memory */
# 887| buffer_init (&to_decrypt, crypto_size);
# 888|-> memcpy (to_decrypt.buf, buffer.buf + offset, crypto_size);
# 889| to_decrypt.len = crypto_size;
# 890|
Error: CPPCHECK_WARNING: [#def135]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-binary.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def136]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-collection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def137]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-compat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def138]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-fields.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def139]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def140]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def141]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def142]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-search.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def143]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/gkm-secret-textual.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def144]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/mock-secret-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def145]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/mock-secret-module.c:217:2: warning[deadcode.DeadStores]: Value stored to 'obj' is never read
# 215| /* Item #3 */
# 216| item = gkm_secret_collection_get_item (collection, "3");
# 217|-> obj = GKM_SECRET_OBJECT (item);
# 218| /* "Couldn't find item #3" */
# 219| g_assert (item != NULL);
Error: CPPCHECK_WARNING: [#def146]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/test-secret-collection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def147]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/test-secret-fields.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def148]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/test-secret-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def149]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/secret-store/test-secret-search.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def150]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/gkm-ssh-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def151]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/gkm-ssh-openssh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def152]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/gkm-ssh-openssh.c:182:3: warning[unix.Malloc]: Use of memory after it is freed
# 180|
# 181| if (!alg) {
# 182|-> g_warning ("unsupported algorithm from SSH: %s", stype);
# 183| return FALSE;
# 184| }
Error: CPPCHECK_WARNING: [#def153]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/gkm-ssh-private-key.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def154]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/test-private-key.c:80:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 78| g_assert (GKM_IS_SSH_PRIVATE_KEY (test->dsakey));
# 79|
# 80|-> ret = gkm_ssh_private_key_parse (test->dsakey, SRCDIR "/pkcs11/ssh-store/fixtures/id_dsa_encrypted.pub",
# 81| SRCDIR "/pkcs11/ssh-store/fixtures/id_dsa_encrypted", NULL);
# 82|
Error: CLANG_WARNING: [#def155]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/test-private-key.c:87:2: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 85| g_assert (GKM_IS_SSH_PRIVATE_KEY (test->ecdsakey));
# 86|
# 87|-> ret = gkm_ssh_private_key_parse (test->ecdsakey, SRCDIR "/pkcs11/ssh-store/fixtures/id_ecdsa_encrypted.pub",
# 88| SRCDIR "/pkcs11/ssh-store/fixtures/id_ecdsa_encrypted", NULL);
# 89| }
Error: CPPCHECK_WARNING: [#def156]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/ssh-store/test-ssh-openssh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def157]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-layer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def158]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-login.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def159]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def160]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c: scope_hint: In function 'gkm_wrap_prompt_done_credential'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1096:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'n_attrs'
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1081:9: note: in expansion of macro 'g_return_if_fail'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1081:27: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1081:9: note: in expansion of macro 'g_return_if_fail'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1081:27: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1083:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:534:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:535:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:535:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:547:17: note: in expansion of macro 'g_warning'
# 1094| * the one that failed earlier.
# 1095| */
# 1096|-> if (is_login_keyring (attrs, n_attrs))
# 1097| fix_login_keyring_if_unlock_failed (self, data->password);
# 1098|
Error: CLANG_WARNING: [#def161]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1491:3: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1489| if (call_result == CKR_OK && auto_unlock_should_attach (self)) {
# 1490| attrs = get_attributes_from_object (self, &n_attrs);
# 1491|-> auto_unlock_attach_object (attrs, n_attrs, self->prompt_data);
# 1492| }
# 1493| }
Error: GCC_ANALYZER_WARNING (CWE-457): [#def162]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c: scope_hint: In function 'login_prompt_done_specific'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1491:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'n_attrs'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1484:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1484:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1484:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:1484:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c: scope_hint: In function 'login_prompt_done_specific'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro '_G_TYPE_CIT'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:47:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:19: note: in expansion of macro 'GKM_IS_WRAP_PROMPT'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:533:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:534:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:534:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:535:9: note: in expansion of macro 'g_assert'
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL'
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro '_G_BOOLEAN_EXPR'
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro 'G_LIKELY'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:535:9: note: in expansion of macro 'g_assert'
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/gkm-wrap-prompt.c:547:17: note: in expansion of macro 'g_warning'
# 1489| if (call_result == CKR_OK && auto_unlock_should_attach (self)) {
# 1490| attrs = get_attributes_from_object (self, &n_attrs);
# 1491|-> auto_unlock_attach_object (attrs, n_attrs, self->prompt_data);
# 1492| }
# 1493| }
Error: CPPCHECK_WARNING: [#def163]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/mock-secret-store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def164]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/test-create-credential.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def165]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/test-login-auto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def166]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/wrap-layer/test-login-specific.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def167]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/dump-trust-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def168]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/frob-trust-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def169]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/gkm-xdg-assertion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def170]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/gkm-xdg-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def171]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/gkm-xdg-trust.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def172]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/test-xdg-module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def173]
gnome-keyring-46.1-build/gnome-keyring-46.1/pkcs11/xdg-store/test-xdg-trust.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-12.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gnome-keyring-46.1-1.fc41 |
store-results-to | /tmp/tmpo64kwzc3/gnome-keyring-46.1-1.fc41.tar.xz |
time-created | 2024-07-03 12:55:41 |
time-finished | 2024-07-03 12:58:58 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo64kwzc3/gnome-keyring-46.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpo64kwzc3/gnome-keyring-46.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |