Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/gnome-keyring-3.36.0/pam/test-pam.c
Examining data/gnome-keyring-3.36.0/pam/gkr-pam-stubs.c
Examining data/gnome-keyring-3.36.0/pam/gkr-pam-client.c
Examining data/gnome-keyring-3.36.0/pam/gkr-pam-module.c
Examining data/gnome-keyring-3.36.0/pam/gkr-pam.h
Examining data/gnome-keyring-3.36.0/pam/mock-pam.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-message.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-private.h
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/test-initialize.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-layer.h
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-util.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-storage.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-standalone.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-file.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-file.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-public-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-storage.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-public-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-file.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-storage.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/frob-gnome2-file.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-private-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/mock-gnome2-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-private-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-import.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/mock-gnome2-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-private-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/pkcs11x.h
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.h
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-login.h
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-init-pin.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-login-user.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-set-pin.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-login-auto.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-login-specific.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.h
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/mock-secret-store.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-login.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-login-hints.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-login-keyring.c
Examining data/gnome-keyring-3.36.0/pkcs11/wrap-layer/test-create-credential.c
Examining data/gnome-keyring-3.36.0/pkcs11/pkcs11n.h
Examining data/gnome-keyring-3.36.0/pkcs11/pkcs11.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/mock-ssh-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-private-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/test-private-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-openssh.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-openssh.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-public-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/test-ssh-openssh.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-standalone.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/mock-ssh-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-public-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-private-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/pkcs11i.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-transaction.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-timer.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-assertion.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-transaction.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test.asn.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-debug.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-asn1.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-transaction.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-certificate.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-log.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-sexp.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-log.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-null-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-public-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-private-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-object.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-ecdsa-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-debug.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-certificate-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-sexp.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-test.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-crypto.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-credential.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-assertion.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-der.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-store.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-util.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-asn1.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/mock-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/mock-locked-object.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-session.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/mock-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-util.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-test.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-certificate-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-sexp-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/mock-locked-object.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-credential.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-ecdsa-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-memory-store.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-secret.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-private-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-attributes.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-rsa-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-store.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-session.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-private-xsa-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dsa-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-serializable.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-public-xsa-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module-ep.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-factory.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-types.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-sexp-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-object.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-public-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-types.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-null-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-generic-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-certificate.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-null-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-private-xsa-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-der.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dh-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-dsa-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-trust.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-oids.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-memory-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-hkdf-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-certificate.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-public-xsa-key.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-trust.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-factory.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-rsa-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-memory-store.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-null-mechanism.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-crypto.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-generic-key.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-sexp.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-asn1.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-hkdf-mechanism.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-serializable.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-timer.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-object.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-credential.h
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c
Examining data/gnome-keyring-3.36.0/pkcs11/gkm/test-timer.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/mock-xdg-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-assertion.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-assertion.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-asn1-defs.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/mock-xdg-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/xdg.asn.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/dump-trust-file.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-standalone.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/test-xdg-trust.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/test-xdg-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/frob-trust-file.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-trust.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-asn1-defs.c
Examining data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-trust.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-fields.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-compat.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-data.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-object.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-data.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-types.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-textual.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-textual.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-compat.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-search.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-object.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-data.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/mock-secret-module.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/mock-secret-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-collection.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-search.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-object.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-store.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-textual.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-collection.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-binary.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-compat.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-collection.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-item.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-item.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-item.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-module.h
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-standalone.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-schema.c
Examining data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-search.c
Examining data/gnome-keyring-3.36.0/gkm-marshal.c
Examining data/gnome-keyring-3.36.0/egg/egg-cleanup.h
Examining data/gnome-keyring-3.36.0/egg/test-dh.c
Examining data/gnome-keyring-3.36.0/egg/egg-symkey.h
Examining data/gnome-keyring-3.36.0/egg/egg-padding.c
Examining data/gnome-keyring-3.36.0/egg/test.asn.h
Examining data/gnome-keyring-3.36.0/egg/test-hkdf.c
Examining data/gnome-keyring-3.36.0/egg/mock-interaction.c
Examining data/gnome-keyring-3.36.0/egg/egg-libgcrypt.c
Examining data/gnome-keyring-3.36.0/egg/egg-file-tracker.h
Examining data/gnome-keyring-3.36.0/egg/egg-secure-memory.c
Examining data/gnome-keyring-3.36.0/egg/egg-armor.h
Examining data/gnome-keyring-3.36.0/egg/test-dn.c
Examining data/gnome-keyring-3.36.0/egg/egg-armor.c
Examining data/gnome-keyring-3.36.0/egg/egg-openssl.c
Examining data/gnome-keyring-3.36.0/egg/egg-dh.h
Examining data/gnome-keyring-3.36.0/egg/egg-timegm.c
Examining data/gnome-keyring-3.36.0/egg/pk.asn.h
Examining data/gnome-keyring-3.36.0/egg/egg-openssl.h
Examining data/gnome-keyring-3.36.0/egg/pkix.asn.h
Examining data/gnome-keyring-3.36.0/egg/egg-asn1x.c
Examining data/gnome-keyring-3.36.0/egg/egg-oid.h
Examining data/gnome-keyring-3.36.0/egg/egg-error.h
Examining data/gnome-keyring-3.36.0/egg/egg-secure-memory.h
Examining data/gnome-keyring-3.36.0/egg/test-asn1x.c
Examining data/gnome-keyring-3.36.0/egg/egg-asn1x.h
Examining data/gnome-keyring-3.36.0/egg/egg-asn1-defs.c
Examining data/gnome-keyring-3.36.0/egg/egg-libgcrypt.h
Examining data/gnome-keyring-3.36.0/egg/egg-hkdf.c
Examining data/gnome-keyring-3.36.0/egg/test-asn1.c
Examining data/gnome-keyring-3.36.0/egg/test-hex.c
Examining data/gnome-keyring-3.36.0/egg/test-armor.c
Examining data/gnome-keyring-3.36.0/egg/mock-interaction.h
Examining data/gnome-keyring-3.36.0/egg/egg-asn1-defs.h
Examining data/gnome-keyring-3.36.0/egg/egg-symkey.c
Examining data/gnome-keyring-3.36.0/egg/egg-byte-array.h
Examining data/gnome-keyring-3.36.0/egg/egg-testing.c
Examining data/gnome-keyring-3.36.0/egg/egg-testing.h
Examining data/gnome-keyring-3.36.0/egg/egg-byte-array.c
Examining data/gnome-keyring-3.36.0/egg/egg-cleanup.c
Examining data/gnome-keyring-3.36.0/egg/egg-hex.c
Examining data/gnome-keyring-3.36.0/egg/egg-buffer.c
Examining data/gnome-keyring-3.36.0/egg/test-padding.c
Examining data/gnome-keyring-3.36.0/egg/egg-timegm.h
Examining data/gnome-keyring-3.36.0/egg/test-oid.c
Examining data/gnome-keyring-3.36.0/egg/egg-dh.c
Examining data/gnome-keyring-3.36.0/egg/egg-dn.h
Examining data/gnome-keyring-3.36.0/egg/test-secmem.c
Examining data/gnome-keyring-3.36.0/egg/dotlock.c
Examining data/gnome-keyring-3.36.0/egg/egg-padding.h
Examining data/gnome-keyring-3.36.0/egg/test-cleanup.c
Examining data/gnome-keyring-3.36.0/egg/egg-dn.c
Examining data/gnome-keyring-3.36.0/egg/test-openssl.c
Examining data/gnome-keyring-3.36.0/egg/egg-oid.c
Examining data/gnome-keyring-3.36.0/egg/egg-buffer.h
Examining data/gnome-keyring-3.36.0/egg/egg-hex.h
Examining data/gnome-keyring-3.36.0/egg/egg-hkdf.h
Examining data/gnome-keyring-3.36.0/egg/dotlock.h
Examining data/gnome-keyring-3.36.0/egg/egg-file-tracker.c
Examining data/gnome-keyring-3.36.0/egg/egg-unix-credentials.h
Examining data/gnome-keyring-3.36.0/egg/test-file-tracker.c
Examining data/gnome-keyring-3.36.0/egg/test-symkey.c
Examining data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c
Examining data/gnome-keyring-3.36.0/tool/gkr-tool.h
Examining data/gnome-keyring-3.36.0/tool/gkr-tool-import.c
Examining data/gnome-keyring-3.36.0/tool/gkr-tool-trust.c
Examining data/gnome-keyring-3.36.0/tool/gkr-tool.c
Examining data/gnome-keyring-3.36.0/tool/gkr-tool-version.c
Examining data/gnome-keyring-3.36.0/gkm-marshal.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-types.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-prompt.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-portal.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-error.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-unlock.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus-private.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-change.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-exchange.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-items.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-search.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-portal.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-error.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-objects.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-property.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-daemon-generated.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-dispatch.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-secret.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus-secrets.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-portal.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-property.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-session.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-portal-generated.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-session.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-create.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-portal-generated.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-signals.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus-session.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-secret.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-service.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-objects.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-daemon-generated.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-service.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-portal-request-generated.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-dbus-environment.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-internal-generated.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-dispatch.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secrets-generated.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-unlock.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-lock.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-lock.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-exchange.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-create.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-change.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-lock.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-util.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secrets-generated.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-prompt.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-service.h
Examining data/gnome-keyring-3.36.0/daemon/dbus/test-service.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-internal-generated.c
Examining data/gnome-keyring-3.36.0/daemon/dbus/gkd-portal-request-generated.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-util.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-preload.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-service.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-process.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-service.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-util.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-interaction.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-process.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-util.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-interaction.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-private.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-preload.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-common.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-common.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-preload.h
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-interaction.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-process.c
Examining data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-service.c
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login-password.c
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login.h
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login-interaction.c
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login-interaction.h
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login.c
Examining data/gnome-keyring-3.36.0/daemon/login/gkd-login-password.h
Examining data/gnome-keyring-3.36.0/daemon/gkd-test.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-glue.h
Examining data/gnome-keyring-3.36.0/daemon/gkd-test.h
Examining data/gnome-keyring-3.36.0/daemon/test-shutdown.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-capability.h
Examining data/gnome-keyring-3.36.0/daemon/gkd-glue.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-util.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-main.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-capability.c
Examining data/gnome-keyring-3.36.0/daemon/test-startup.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-pkcs11.h
Examining data/gnome-keyring-3.36.0/daemon/control/frob-control-unlock.c
Examining data/gnome-keyring-3.36.0/daemon/control/gkd-control-server.c
Examining data/gnome-keyring-3.36.0/daemon/control/frob-control-init.c
Examining data/gnome-keyring-3.36.0/daemon/control/gkd-control-codes.h
Examining data/gnome-keyring-3.36.0/daemon/control/gkd-control.h
Examining data/gnome-keyring-3.36.0/daemon/control/frob-control-quit.c
Examining data/gnome-keyring-3.36.0/daemon/control/frob-control-change.c
Examining data/gnome-keyring-3.36.0/daemon/control/gkd-control-client.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-pkcs11.c
Examining data/gnome-keyring-3.36.0/daemon/gkd-main.h
Examining data/gnome-keyring-3.36.0/daemon/gkd-util.h

FINAL RESULTS:

data/gnome-keyring-3.36.0/daemon/test-startup.c:150:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (chmod (noaccess, 0700) < 0)
data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c:273:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	count = readlink (buffer, path, sizeof (path));
data/gnome-keyring-3.36.0/daemon/control/frob-control-change.c:21:23:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	original = g_strdup (getpass ("Original: "));
data/gnome-keyring-3.36.0/daemon/control/frob-control-change.c:24:13:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	password = getpass ("New Password: ");
data/gnome-keyring-3.36.0/daemon/control/frob-control-unlock.c:17:13:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	password = getpass ("Unlock: ");
data/gnome-keyring-3.36.0/egg/dotlock.c:377:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_info_0(a)       fprintf (stderr, (a))
data/gnome-keyring-3.36.0/egg/dotlock.c:378:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_info_1(a,b)     fprintf (stderr, (a), (b))
data/gnome-keyring-3.36.0/egg/dotlock.c:379:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_info_2(a,b,c)   fprintf (stderr, (a), (b), (c))
data/gnome-keyring-3.36.0/egg/dotlock.c:380:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_info_3(a,b,c,d) fprintf (stderr, (a), (b), (c), (d))
data/gnome-keyring-3.36.0/egg/dotlock.c:381:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_error_0(a)      fprintf (stderr, (a))
data/gnome-keyring-3.36.0/egg/dotlock.c:382:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_error_1(a,b)    fprintf (stderr, (a), (b))
data/gnome-keyring-3.36.0/egg/dotlock.c:383:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_error_2(a,b,c)  fprintf (stderr, (a), (b), (c))
data/gnome-keyring-3.36.0/egg/dotlock.c:384:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_debug_1(a,b)    fprintf (stderr, (a), (b))
data/gnome-keyring-3.36.0/egg/dotlock.c:385:34:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define my_fatal_0(a)      do { fprintf (stderr,(a)); fflush (stderr); \
data/gnome-keyring-3.36.0/egg/dotlock.c:583:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (lname, tname);
data/gnome-keyring-3.36.0/egg/dotlock.c:708:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (stpcpy (h->lockname, file_to_lock), EXTSEP_S "lock");
data/gnome-keyring-3.36.0/egg/dotlock.c:749:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (stpcpy(h->lockname, file_to_lock), EXTSEP_S "lock");
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:1337:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (res, str);
data/gnome-keyring-3.36.0/egg/test-secmem.c:141:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy ((gchar*)p, str);
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:160:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (addr->sun_path, control);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:279:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (var, "%s=%s", name, val);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:632:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (control, control_root);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:633:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (control, suffix);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1329:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy ((gchar*)session->sign_prefix, SIGNED_PREFIX);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1446:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy ((gchar*)session->sign_prefix, SIGNED_PREFIX);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/frob-gnome2-file.c:48:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf (stderr, message, va);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/frob-gnome2-file.c:75:13:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	password = getpass ("Password: ");
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2371:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (pkcs11_socket_path, "%s/pkcs11", prefix);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1200:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (pkcs11_socket_path, "%s/pkcs11", path);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1210:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf (pkcs11_socket_path, "%s/keyring/pkcs11", path);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-util.c:43:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (buffer + len, sizeof (buffer) - len, msg, va);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:935:13:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	password = getpass ("Password: ");
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-service.c:172:37:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
		old_directory = g_build_filename (g_get_home_dir (), ".gnome2", "keyrings", NULL);
data/gnome-keyring-3.36.0/daemon/gkd-capability.c:47:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!getenv ("GNOME_KEYRING_TEST_SERVICE"))
data/gnome-keyring-3.36.0/egg/egg-file-tracker.c:272:14:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			homedir = g_get_home_dir ();
data/gnome-keyring-3.36.0/egg/egg-libgcrypt.c:88:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srand (seed);
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:949:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("SECMEM_FORCE_FALLBACK"))
data/gnome-keyring-3.36.0/egg/test-secmem.c:175:14:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				action = g_random_int_range (0, 3);
data/gnome-keyring-3.36.0/egg/test-secmem.c:182:11:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			size = g_random_int_range (1, 16384);
data/gnome-keyring-3.36.0/egg/test-secmem.c:189:12:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			index = g_random_int_range (0, memory->len);
data/gnome-keyring-3.36.0/egg/test-secmem.c:192:11:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			size = g_random_int_range (1, 16384);
data/gnome-keyring-3.36.0/egg/test-secmem.c:199:12:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			index = g_random_int_range (0, memory->len);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:303:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env = getenv (name);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:407:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		display = getenv ("DISPLAY");
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:412:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime = getenv ("XDG_RUNTIME_DIR");
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-der.c:1385:15:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	iterations = g_random_int_range (1000, 4096);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-transaction.c:287:30:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			                          g_random_int_range (0, G_MAXINT));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-util.c:147:36:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	old_directory = g_build_filename (g_get_home_dir (), ".gnome2", "keyrings", NULL);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-file.c:1310:54:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*identifier = g_strdup_printf ("object-%08x", ABS (g_random_int ()));
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-storage.c:314:14:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			g_usleep (g_random_int_range (1, 200) * 1000);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1192:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			path = getenv ("GNOME_KEYRING_CONTROL");
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1202:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				path = getenv ("XDG_RUNTIME_DIR");
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c:589:20:  [3] (random) g_random_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	hash_iterations = g_random_int_range (1000, 4096);
data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-search.c:405:42:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		                                (glong)g_random_int ());
data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-module.c:349:47:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		name = g_strdup_printf ("object-%08x", ABS (g_random_int ()));
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-property.c:226:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (buf, attr->value, 14);
data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-portal.c:177:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buffer, test->buffer, sizeof(test->buffer));
data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-portal.c:194:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buffer, test->buffer, sizeof(test->buffer));
data/gnome-keyring-3.36.0/daemon/gkd-main.c:617:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open ("/dev/null", O_RDONLY);
data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:140:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (p, " " COMMENT "\n", strlen (COMMENT) + 2);
data/gnome-keyring-3.36.0/egg/dotlock.c:478:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer_space[10+1+70+1]; /* 70 is just an estimated value; node
data/gnome-keyring-3.36.0/egg/dotlock.c:497:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( (fd = open (h->lockname, O_RDONLY)) == -1 )
data/gnome-keyring-3.36.0/egg/dotlock.c:540:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      || (buffer[10] = 0, pid = atoi (buffer)) == -1
data/gnome-keyring-3.36.0/egg/dotlock.c:610:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pidstr[16];
data/gnome-keyring-3.36.0/egg/dotlock.c:659:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = open (h->tname, O_WRONLY|O_CREAT|O_EXCL,
data/gnome-keyring-3.36.0/egg/dotlock.c:968:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open (h->lockname, O_WRONLY|O_CREAT|O_EXCL,
data/gnome-keyring-3.36.0/egg/dotlock.c:983:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char pidstr[16];
data/gnome-keyring-3.36.0/egg/egg-armor.c:137:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (stype, pref, suff - pref);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:467:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (copy, tlv, sizeof (Atlv));
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:1446:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (p + 1, buf, len);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:1459:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (p + 1, buf, len);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:1465:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (p, buf, len);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:2280:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (data, at, bytes);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:2349:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (at, buf, len);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:2376:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (value, buf, len);
data/gnome-keyring-3.36.0/egg/egg-buffer.c:146:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (buf, buffer->buf, buffer->allocated_len);
data/gnome-keyring-3.36.0/egg/egg-buffer.c:226:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buffer->buf + buffer->len, val, len);
data/gnome-keyring-3.36.0/egg/egg-buffer.c:505:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (*str_ret, buffer->buf + offset, len);
data/gnome-keyring-3.36.0/egg/egg-hkdf.c:94:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (buffer, gcry_md_read (md2, algo), n_buffer);
data/gnome-keyring-3.36.0/egg/egg-hkdf.c:97:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (at, buffer, step);
data/gnome-keyring-3.36.0/egg/egg-openssl.c:331:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (padded, dat + n_batch, n_overflow);
data/gnome-keyring-3.36.0/egg/egg-padding.c:95:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*raw, at, *n_raw);
data/gnome-keyring-3.36.0/egg/egg-padding.c:135:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pad + n_pad, raw, n_raw);
data/gnome-keyring-3.36.0/egg/egg-padding.c:173:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pad + n_pad, raw, n_raw);
data/gnome-keyring-3.36.0/egg/egg-padding.c:211:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pad + n_pad, raw, n_raw);
data/gnome-keyring-3.36.0/egg/egg-padding.c:253:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pad, raw, n_raw);
data/gnome-keyring-3.36.0/egg/egg-padding.c:296:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*raw, pad, *n_raw);
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:654:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest, src, length);
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:1359:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (res, str, len);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:172:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (digest, digested, n_digest);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:180:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (digest, digested, n_digest);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:276:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (digest, digested, n_digest);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:284:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*key, digest, needed_key);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:290:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*iv, digest + (16 - needed_iv), needed_iv);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:386:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (hash, gcry_md_read (mdh, hash_algo), n_hash);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:561:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buf, salt, n_salt);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:584:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (U, gcry_md_read (mdh, hash_algo), n_hash);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:590:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (output + (i - 1) * n_hash, T, i == l ? r : n_hash);
data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c:73:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cred[CMSG_SPACE (sizeof *cred)];
data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cred[CMSG_SPACE (sizeof (struct cmsgcred))];
data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c:263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[1024];
data/gnome-keyring-3.36.0/egg/egg-unix-credentials.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[64];
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:302:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[4];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:172:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:642:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char control[MAX_CONTROL_SIZE];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:674:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char control[MAX_CONTROL_SIZE];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:676:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *argv[2];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:716:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char control[MAX_CONTROL_SIZE];
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:717:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *argv[3];
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-key.c:135:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (key->value, value->pValue, key->n_value);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-aes-mechanism.c:191:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (padded, input, n_input);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:85:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buf, attr->pValue, 14);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:220:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (date.year, buf, 4);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:224:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (date.month, buf, 2);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:228:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (date.day, buf, 2);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:341:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(array[i].pValue, at->pValue, at->ulValueLen);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:523:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&bbool, attr->pValue, sizeof (CK_BBOOL));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:546:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&ulong, attr->pValue, sizeof (CK_ULONG));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-crypto.c:140:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (data, block, n_block);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-der.c:1529:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (raw, g_bytes_get_data (key, NULL), n_key);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-data-der.c:1536:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (raw, g_bytes_get_data (key, NULL), n_key);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-generic-key.c:102:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (key->value, value->pValue, key->n_value);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c:163:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (*result, &attr, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c:237:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (*result, &attr, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:400:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (pInfo, &TEST_INFO, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:469:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pInfo, &TEST_INFO_ONE, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:472:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pInfo, &TEST_INFO_TWO, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:507:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pInfo, &TEST_TOKEN_ONE, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:567:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pInfo, &TEST_MECH_CAPITALIZE, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:570:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (pInfo, &TEST_MECH_PREFIX, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:690:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (pInfo, &session->info, sizeof (*pInfo));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:939:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (result->pValue, attr->pValue, attr->ulValueLen);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1325:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (session->sign_prefix, pMechanism->pParameter, pMechanism->ulParameterLen);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1377:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (pSignature, session->sign_prefix, session->n_sign_prefix);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1378:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (pSignature + session->n_sign_prefix, pData, ulDataLen);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1442:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (session->sign_prefix, pMechanism->pParameter, pMechanism->ulParameterLen);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.c:977:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (info, &default_module_info, sizeof (CK_INFO));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.c:1036:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (info, original, sizeof (CK_SLOT_INFO));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.c:1067:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (info, original, sizeof (CK_TOKEN_INFO));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-module.c:1133:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (info, &mechanism_list[index].info, sizeof (CK_MECHANISM_INFO));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret.c:94:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (secret->memory, data, n_data);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-sexp.c:117:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (str, data, n_data);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-transaction.c:185:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[512]; /* If you change this size, please also adjust */
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-util.c:122:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (output, input, n_input);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/frob-gnome2-file.c:71:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (argv[1], O_RDONLY, 0);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-module.c:286:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&self->token_info, &user_module_token_info, sizeof (CK_TOKEN_INFO));
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-storage.c:197:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (filename, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR);
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:198:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char manufacturer_id[32];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:200:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char library_description[32];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:215:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char slot_description[64];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:216:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char manufacturer_id[32];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:231:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char label[32];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:232:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char manufacturer_id[32];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:233:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char model[16];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:234:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char serial_number[16];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:248:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utc_time[16];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:469:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char year[4];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:470:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char month[2];
data/gnome-keyring-3.36.0/pkcs11/pkcs11.h:471:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char day[2];
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:538:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (*val, data, n_data);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2123:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[4];
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-message.c:445:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buffer, data, length);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:462:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[4];
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:729:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy (attr->pValue, attrval, attrlen);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:795:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (arr, val, vlen);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1310:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (info, &stand_in_info, sizeof (CK_INFO));
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-util.c:35:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024];
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:175:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (out, buffer->buf + offset, n_bytes);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:237:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (*str_ret, buffer->buf + offset, len);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:464:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (digest, digested, n_digest);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:472:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (digest, digested, n_digest);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:888:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (to_decrypt.buf, buffer.buf + offset, crypto_size);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c:95:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (out, buffer->buf + offset, n_bytes);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c:641:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (to_encrypt.buf, digest, 16);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c:936:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (to_decrypt.buf, buffer.buf + offset, crypto_size);
data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-openssh.c:383:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (atoi (val) == 0)
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (mapping, &wrap_mappings[slot], sizeof (Mapping));
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.c:120:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy (session, sess, sizeof (Session));
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.c:283:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy ((char*)info->manufacturerID, MANUFACTURER_ID, 32);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-layer.c:284:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy ((char*)info->libraryDescription, LIBRARY_DESCRIPTION, 32);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:96:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (memory, original, length);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/mock-secret-store.c:185:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (attrs, attr, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-assertion.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&lookups[1], value, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-assertion.c:91:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&lookups[1], issuer, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-assertion.c:92:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&lookups[2], serial, sizeof (CK_ATTRIBUTE));
data/gnome-keyring-3.36.0/pkcs11/xdg-store/gkm-xdg-module.c:535:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&self->token_info, &user_module_token_info, sizeof (CK_TOKEN_INFO));
data/gnome-keyring-3.36.0/pkcs11/xdg-store/mock-xdg-module.c:93:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (tv + 1, tv, sizeof (struct timeval));
data/gnome-keyring-3.36.0/daemon/control/gkd-control-client.c:130:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		res = read (fd, buf + bytes, len - bytes);
data/gnome-keyring-3.36.0/daemon/control/gkd-control-client.c:186:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (read (sock, &path, sizeof (path)) < 0);
data/gnome-keyring-3.36.0/daemon/control/gkd-control-server.c:305:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			res = read (fd, buffer->buf + buffer->len, 4 - buffer->len);
data/gnome-keyring-3.36.0/daemon/control/gkd-control-server.c:323:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				res = read (fd, buffer->buf + buffer->len, packet_size - buffer->len);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-property.c:75:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		prop_name += strlen (interface);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-service.c:234:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (prefix);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.c:41:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen (enc);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.c:73:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		path += strlen (SECRET_COLLECTION_PREFIX);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.c:75:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		path += strlen (SECRET_ALIAS_PREFIX);
data/gnome-keyring-3.36.0/daemon/dbus/gkd-secret-util.c:123:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen (name);
data/gnome-keyring-3.36.0/daemon/dbus/test-dbus-util.c:37:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	result = gkd_secret_util_build_path ("/path/", identifier, strlen (identifier));
data/gnome-keyring-3.36.0/daemon/dbus/test-service.c:163:79:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	                      g_variant_new_fixed_array (G_VARIANT_TYPE_BYTE, value, strlen (value), 1),
data/gnome-keyring-3.36.0/daemon/gkd-main.c:461:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read (fd, buf, MAX_BLOCK);
data/gnome-keyring-3.36.0/daemon/gkd-main.c:476:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat (ret, buf, r);
data/gnome-keyring-3.36.0/daemon/gkd-main.c:627:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (fd, &dummy, 1);
data/gnome-keyring-3.36.0/daemon/gkd-test.c:89:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ret = read (out_fd, output->str + len, 1024);
data/gnome-keyring-3.36.0/daemon/login/gkd-login-interaction.c:147:86:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				g_tls_password_set_value_full (G_TLS_PASSWORD (login_password), (guchar *)value, strlen (value), (GDestroyNotify)egg_secure_free);
data/gnome-keyring-3.36.0/daemon/login/gkd-login.c:258:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (!gck_session_init_pin (session, (const guchar*)master, strlen (master), NULL, &error)) {
data/gnome-keyring-3.36.0/daemon/login/gkd-login.c:391:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (!gck_session_set_pin (session, (const guchar*)original, strlen (original),
data/gnome-keyring-3.36.0/daemon/login/gkd-login.c:392:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				                          (const guchar*)master, strlen (master), NULL, &error)) {
data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-interaction.c:71:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_tls_password_set_value (password, (const guchar *)value, strlen (value));
data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-preload.c:150:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return g_strndup (public_path, strlen (public_path) - 4);
data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-process.c:163:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read (fd, buf, sizeof (buf));
data/gnome-keyring-3.36.0/daemon/ssh-agent/gkd-ssh-agent-util.c:210:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gchar *end = str + strlen (str) + 1;
data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:137:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	contents = g_realloc (contents, length + strlen (COMMENT) + 1);
data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:140:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (p, " " COMMENT "\n", strlen (COMMENT) + 2);
data/gnome-keyring-3.36.0/daemon/ssh-agent/test-gkd-ssh-agent-preload.c:142:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = g_file_set_contents (path, contents, length + strlen (COMMENT), &error);
data/gnome-keyring-3.36.0/egg/dotlock.c:512:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read (fd, p, expected_len - nread);
data/gnome-keyring-3.36.0/egg/dotlock.c:580:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  lname = jnlib_malloc (strlen (tname) + 1 + 1);
data/gnome-keyring-3.36.0/egg/dotlock.c:584:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat (lname, "x");
data/gnome-keyring-3.36.0/egg/dotlock.c:640:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  tnamelen = dirpartlen + 6 + 30 + strlen(nodename) + 10 + 1;
data/gnome-keyring-3.36.0/egg/dotlock.c:649:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  h->nodename_len = strlen (nodename);
data/gnome-keyring-3.36.0/egg/dotlock.c:652:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  h->nodename_off = strlen (h->tname);
data/gnome-keyring-3.36.0/egg/dotlock.c:676:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ( write (fd, nodename, strlen (nodename) ) != strlen (nodename) )
data/gnome-keyring-3.36.0/egg/dotlock.c:676:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ( write (fd, nodename, strlen (nodename) ) != strlen (nodename) )
data/gnome-keyring-3.36.0/egg/dotlock.c:698:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  h->lockname = jnlib_malloc (strlen (file_to_lock) + 6 );
data/gnome-keyring-3.36.0/egg/dotlock.c:741:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  h->lockname = jnlib_malloc ( strlen (file_to_lock) + 6 );
data/gnome-keyring-3.36.0/egg/egg-armor.c:169:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_type = strlen (stype);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:2525:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			next = p = oid + strlen (oid);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:3378:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_data = strlen (data);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:3629:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_data = strlen (oid);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:4264:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strspn (odef->value, "01234567890") == strlen (odef->value)) {
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:4633:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_time = strlen (time);
data/gnome-keyring-3.36.0/egg/egg-asn1x.c:4664:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_time = strlen (time);
data/gnome-keyring-3.36.0/egg/egg-buffer.c:461:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen (str);
data/gnome-keyring-3.36.0/egg/egg-hex.c:59:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_data = strlen (data);
data/gnome-keyring-3.36.0/egg/egg-hex.c:60:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_delim = delim ? strlen (delim) : 0;
data/gnome-keyring-3.36.0/egg/egg-openssl.c:191:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*iv = egg_hex_decode (parts[1], strlen(parts[1]), &len);
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:1335:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (str) + 1;
data/gnome-keyring-3.36.0/egg/egg-secure-memory.c:1385:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	egg_secure_clear ((unsigned char*)str, strlen (str));
data/gnome-keyring-3.36.0/egg/egg-symkey.c:125:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_password = strlen (password);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:228:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_password = strlen (password);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:323:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		end_password = utf8_password + strlen (utf8_password);
data/gnome-keyring-3.36.0/egg/egg-symkey.c:624:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_password = strlen (password);
data/gnome-keyring-3.36.0/egg/test-armor.c:67:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bytes = g_bytes_new_static (pem_data, strlen (pem_data));
data/gnome-keyring-3.36.0/egg/test-armor.c:96:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bytes = g_bytes_new_static (pem_data, strlen (pem_data));
data/gnome-keyring-3.36.0/egg/test-armor.c:118:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bytes = g_bytes_new_static (data, strlen (data));
data/gnome-keyring-3.36.0/egg/test-file-tracker.c:160:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = g_file_set_contents (test->test_file, DATA, strlen (DATA), NULL);
data/gnome-keyring-3.36.0/egg/test-file-tracker.c:191:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = g_file_set_contents (test->test_file, DATA, strlen (DATA), NULL);
data/gnome-keyring-3.36.0/egg/test-file-tracker.c:222:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = g_file_set_contents (file, DATA, strlen (DATA), NULL);
data/gnome-keyring-3.36.0/egg/test-secmem.c:135:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (str) + 1;
data/gnome-keyring-3.36.0/egg/test-secmem.c:245:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (strlen (str), ==, 6);
data/gnome-keyring-3.36.0/egg/test-secmem.c:249:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (strlen (str), ==, 6);
data/gnome-keyring-3.36.0/egg/test-secmem.c:262:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (strlen (str), ==, 6);
data/gnome-keyring-3.36.0/egg/test-secmem.c:268:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (strlen (str), ==, 6);
data/gnome-keyring-3.36.0/egg/test-secmem.c:274:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (strlen (str), ==, 6);
data/gnome-keyring-3.36.0/egg/test-symkey.c:377:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	                              test->password, strlen (test->password),
data/gnome-keyring-3.36.0/egg/test-symkey.c:494:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	                              test->password, strlen (test->password),
data/gnome-keyring-3.36.0/egg/test-symkey.c:581:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	                           test->password, strlen (test->password),
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:152:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (control) + 1 > sizeof (addr->sun_path)) {
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:269:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read (fd, data, len);
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:325:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		oplen += 4 + strlen (argv[i]);
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:338:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			l = strlen (argv[i]);
data/gnome-keyring-3.36.0/pam/gkr-pam-client.c:378:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (read (sock, buf, 4) > 0);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:124:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (password);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:177:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read (fd, buf, sizeof (buf));
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:195:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat (ret, buf, r);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:209:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int res, len = strlen (buf);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:243:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			item += strlen (needle);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:273:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	var = malloc (strlen (name) + strlen (val) + 2);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:273:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	var = malloc (strlen (name) + strlen (val) + 2);
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:626:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (control_root) + strlen (suffix) + 1 > MAX_CONTROL_SIZE) {
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:626:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (control_root) + strlen (suffix) + 1 > MAX_CONTROL_SIZE) {
data/gnome-keyring-3.36.0/pam/gkr-pam-module.c:813:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	only_if_len = strlen ("only_if=");
data/gnome-keyring-3.36.0/pam/test-pam.c:108:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(msg[i]->msg) > 0 &&
data/gnome-keyring-3.36.0/pam/test-pam.c:109:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    msg[i]->msg[strlen(msg[i]->msg) - 1] != '\n')
data/gnome-keyring-3.36.0/pam/test-pam.c:114:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(msg[i]->msg) > 0 &&
data/gnome-keyring-3.36.0/pam/test-pam.c:115:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    msg[i]->msg[strlen(msg[i]->msg) - 1] != '\n')
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:196:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	                               string ? strlen (string) : 0);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-attributes.c:668:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attr.ulValueLen = strlen (value);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c:201:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		attr.ulValueLen = attr.pValue ? strlen (attr.pValue) : 0;
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c:860:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attr.ulValueLen = value ? strlen (value) : 0;
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-manager.c:872:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attr.ulValueLen = value ? strlen (value) : 0;
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:270:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_the_pin = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:297:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n_the_pin = strlen (the_pin);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:584:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert (strlen ("TEST PIN") && "Invalid ulPinLen");
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:771:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (pPinLen != strlen (the_pin))
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1328:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		g_assert (strlen (SIGNED_PREFIX) + 1 < sizeof (session->sign_prefix));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1330:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		session->n_sign_prefix = strlen (SIGNED_PREFIX);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1445:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		g_assert (strlen (SIGNED_PREFIX) + 1 < sizeof (session->sign_prefix));
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-mock.c:1447:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		session->n_sign_prefix = strlen (SIGNED_PREFIX);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret.c:91:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			secret->n_memory = strlen ((const gchar*)data);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-secret.c:158:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_pin = strlen ((const gchar*)pin);
data/gnome-keyring-3.36.0/pkcs11/gkm/gkm-transaction.c:211:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((nread = read (srcfd, buffer, sizeof buffer))) {
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-asn1.c:171:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	source = g_bytes_new (TEST_STRING, strlen(TEST_STRING));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-asn1.c:216:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	source = g_bytes_new (TEST_STRING, strlen(TEST_STRING));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:173:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, rsapub, strlen (rsapub));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:187:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, dsapub, strlen (dsapub));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:201:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, ecdsapub_256, strlen (ecdsapub_256));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:239:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, rsaprv, strlen (rsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:253:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, dsaprv, strlen (dsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:269:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&skey, NULL, dsaprv, strlen (dsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:297:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&key, NULL, ecdsaprv_256, strlen (ecdsaprv_256));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:328:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&match, NULL, certpub, strlen (certpub));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:568:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, rsaprv, strlen (rsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:586:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, dsaprv, strlen (dsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:604:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, ecdsaprv_384, strlen (ecdsaprv_384));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:631:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, rsaprv, strlen (rsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:649:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, dsaprv, strlen (dsaprv));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-data-der.c:667:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_sscan (&sexp, NULL, ecdsaprv_521, strlen (ecdsaprv_521));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-secret.c:96:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpuint (n_password, ==, strlen ("null-terminated"));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-secret.c:98:75:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert (gkm_secret_equals (secret, (CK_UTF8CHAR_PTR)"null-terminated", strlen ("null-terminated")));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-secret.c:141:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert (!gkm_secret_equals (secret, (CK_UTF8CHAR_PTR)"null-terminated", strlen ("null-terminated")));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-secret.c:164:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert (!gkm_secret_equals (secret, (CK_UTF8CHAR_PTR)"null-terminated", strlen ("null-terminated")));
data/gnome-keyring-3.36.0/pkcs11/gkm/test-sexp.c:85:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_new (&test->rsakey, TEST_RSA, strlen (TEST_RSA), 1);
data/gnome-keyring-3.36.0/pkcs11/gkm/test-sexp.c:87:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_new (&test->dsakey, TEST_DSA, strlen (TEST_DSA), 1);
data/gnome-keyring-3.36.0/pkcs11/gkm/test-sexp.c:89:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry = gcry_sexp_new (&test->ecdsakey, TEST_ECDSA, strlen (TEST_ECDSA), 1);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/frob-gnome2-file.c:76:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	login = gkm_secret_new ((guchar*)password, strlen (password));
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-file.c:140:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		res = read (fd, buf, len);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-storage.c:469:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	result = (strlen (digest) == n_value && memcmp (digest, value, n_value) == 0);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/gkm-gnome2-storage.c:493:94:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	res = gkm_gnome2_file_write_value (self->file, identifier, CKA_GNOME_INTERNAL_SHA1, digest, strlen (digest));
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-storage.c:265:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr.ulValueLen = strlen (string);
data/gnome-keyring-3.36.0/pkcs11/gnome2-store/test-gnome2-storage.c:275:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr.ulValueLen = strlen (string);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2068:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read (sock, data, len);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2366:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pkcs11_socket_path = malloc (strlen (prefix) + strlen ("/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2366:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pkcs11_socket_path = malloc (strlen (prefix) + strlen ("/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-dispatch.c:2382:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (addr.sun_path, pkcs11_socket_path, sizeof (addr.sun_path));
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-message.c:117:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (msg->signature);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-message.c:173:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((strlen (msg->signature) != len) || (memcmp (val, msg->signature, len) != 0)) {
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-message.c:215:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (part);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:236:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (addr.sun_path, pkcs11_socket_path, sizeof (addr.sun_path));
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:433:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read (fd, data, len);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1194:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				pkcs11_socket_path = malloc (strlen (path) + strlen ("/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1194:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				pkcs11_socket_path = malloc (strlen (path) + strlen ("/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1204:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					pkcs11_socket_path = malloc (strlen (path) + strlen ("/keyring/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-module.c:1204:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					pkcs11_socket_path = malloc (strlen (path) + strlen ("/keyring/pkcs11") + 1);
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-private.h:214:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(strlen ((char *)GKM_RPC_HANDSHAKE))
data/gnome-keyring-3.36.0/pkcs11/rpc-layer/gkm-rpc-util.c:40:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (buffer);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:258:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = str ? strlen (str) : 0;
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:417:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_password = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/secret-store/dump-keyring0-format.c:520:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		n_password = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-binary.c:142:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = str ? strlen (str) : 0;
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:35:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gsize len = strlen (prefix);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:118:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gcry_md_hash_buffer (GCRY_MD_MD5, (void*)digest, value, strlen (value));
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:238:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr->ulValueLen += strlen (key);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:239:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr->ulValueLen += strlen (value);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:243:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr->ulValueLen += strlen (GKM_SECRET_FIELD_SCHEMA);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:244:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			attr->ulValueLen += strlen (schema_name);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-fields.c:383:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	gsize len = strlen (prefix);
data/gnome-keyring-3.36.0/pkcs11/secret-store/gkm-secret-module.c:166:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		identifier[strlen(identifier) - 8] = 0;
data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-collection.c:487:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	i_attrs[0].ulValueLen = strlen (identifier);
data/gnome-keyring-3.36.0/pkcs11/secret-store/test-secret-collection.c:555:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	i_attrs[0].ulValueLen = strlen (identifier);
data/gnome-keyring-3.36.0/pkcs11/ssh-store/gkm-ssh-module.c:92:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen (public_path);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-login.c:353:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attr.ulValueLen = strlen (secret);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:808:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attrs[1].ulValueLen = strlen (failed);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1061:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	attr->ulValueLen = strlen (data->password);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1195:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*n_pin = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1370:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*n_new_pin = data->password ? strlen (data->password) : 0;
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1372:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*n_old_pin = data->original ? strlen (data->original) : 0;
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1474:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*n_pin = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/wrap-layer/gkm-wrap-prompt.c:1550:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*n_pin = strlen (password);
data/gnome-keyring-3.36.0/pkcs11/xdg-store/test-xdg-trust.c:640:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ CKA_X_PURPOSE, (void*)purpose, strlen (purpose) },
data/gnome-keyring-3.36.0/pkcs11/xdg-store/test-xdg-trust.c:703:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ CKA_X_PURPOSE, (void*)purpose, strlen (purpose) },

ANALYSIS SUMMARY:

Hits = 360
Lines analyzed = 127704 in approximately 7.80 seconds (16372 lines/second)
Physical Source Lines of Code (SLOC) = 89818
Hits@level = [0] 113 [1] 173 [2] 132 [3]  23 [4]  30 [5]   2
Hits@level+ = [0+] 473 [1+] 360 [2+] 187 [3+]  55 [4+]  32 [5+]   2
Hits/KSLOC@level+ = [0+] 5.2662 [1+] 4.00811 [2+] 2.08199 [3+] 0.612349 [4+] 0.356276 [5+] 0.0222673
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.