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/sssd-2.3.1/src/python/pysss_murmur.c
Examining data/sssd-2.3.1/src/python/pysss.c
Examining data/sssd-2.3.1/src/python/pyhbac.c
Examining data/sssd-2.3.1/src/python/pysss_nss_idmap.c
Examining data/sssd-2.3.1/src/ldb_modules/memberof.c
Examining data/sssd-2.3.1/src/shared/murmurhash3.h
Examining data/sssd-2.3.1/src/shared/io.h
Examining data/sssd-2.3.1/src/shared/safealign.h
Examining data/sssd-2.3.1/src/sss_client/nss_netgroup.c
Examining data/sssd-2.3.1/src/sss_client/sss_pam_compat.h
Examining data/sssd-2.3.1/src/sss_client/sssd_pac.c
Examining data/sssd-2.3.1/src/sss_client/sss_cli.h
Examining data/sssd-2.3.1/src/sss_client/sudo_testcli/sudo_testcli.c
Examining data/sssd-2.3.1/src/sss_client/pam_sss.c
Examining data/sssd-2.3.1/src/sss_client/sss_pam_macros.h
Examining data/sssd-2.3.1/src/sss_client/pam_message.h
Examining data/sssd-2.3.1/src/sss_client/krb5_authdata_int.h
Examining data/sssd-2.3.1/src/sss_client/nss_common.h
Examining data/sssd-2.3.1/src/sss_client/idmap/common_ex.c
Examining data/sssd-2.3.1/src/sss_client/idmap/sss_nss_idmap.c
Examining data/sssd-2.3.1/src/sss_client/idmap/sss_nss_idmap.h
Examining data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c
Examining data/sssd-2.3.1/src/sss_client/idmap/sss_nss_idmap_private.h
Examining data/sssd-2.3.1/src/sss_client/nfs/nfsidmap_internal.h
Examining data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c
Examining data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
Examining data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_client.h
Examining data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_client.c
Examining data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_authorizedkeys.c
Examining data/sssd-2.3.1/src/sss_client/nss_mc.h
Examining data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c
Examining data/sssd-2.3.1/src/sss_client/nss_mc_group.c
Examining data/sssd-2.3.1/src/sss_client/sss_pac_responder_client.c
Examining data/sssd-2.3.1/src/sss_client/nss_passwd.c
Examining data/sssd-2.3.1/src/sss_client/nss_mc_initgr.c
Examining data/sssd-2.3.1/src/sss_client/pam_message.c
Examining data/sssd-2.3.1/src/sss_client/nss_services.c
Examining data/sssd-2.3.1/src/sss_client/nss_group.c
Examining data/sssd-2.3.1/src/sss_client/nss_compat.h
Examining data/sssd-2.3.1/src/sss_client/autofs/sss_autofs_private.h
Examining data/sssd-2.3.1/src/sss_client/autofs/sss_autofs.c
Examining data/sssd-2.3.1/src/sss_client/autofs/autofs_test_client.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sssd_internal.h
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_common.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_internal.h
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_idmap_common.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_idmap_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sid_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_pwd_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/libwbclient.h
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_guid.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_ctx_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_pam_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sid_common.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_err_internal.h
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_util_sssd.c
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_sssd.h
Examining data/sssd-2.3.1/src/sss_client/libwbclient/wbc_util_common.c
Examining data/sssd-2.3.1/src/sss_client/sudo/sss_sudo_response.c
Examining data/sssd-2.3.1/src/sss_client/sudo/sss_sudo_private.h
Examining data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.c
Examining data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.h
Examining data/sssd-2.3.1/src/sss_client/common.c
Examining data/sssd-2.3.1/src/sss_client/nss_mc_passwd.c
Examining data/sssd-2.3.1/src/sss_client/nss_mc_common.c
Examining data/sssd-2.3.1/src/sss_client/nss_hosts.c
Examining data/sssd-2.3.1/src/sss_client/nss_ipnetworks.c
Examining data/sssd-2.3.1/src/sss_client/common_private.h
Examining data/sssd-2.3.1/src/lib/ipa_hbac/ipa_hbac.h
Examining data/sssd-2.3.1/src/lib/ipa_hbac/hbac_evaluator.c
Examining data/sssd-2.3.1/src/lib/winbind_idmap_sss/libdlopen-test-winbind-idmap.c
Examining data/sssd-2.3.1/src/lib/winbind_idmap_sss/winbind_idmap_sss.h
Examining data/sssd-2.3.1/src/lib/winbind_idmap_sss/winbind_idmap_sss.c
Examining data/sssd-2.3.1/src/lib/idmap/sss_idmap_private.h
Examining data/sssd-2.3.1/src/lib/idmap/sss_idmap.h
Examining data/sssd-2.3.1/src/lib/idmap/sss_idmap.c
Examining data/sssd-2.3.1/src/lib/idmap/sss_idmap_conv.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_common.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_attrs.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_dbus.h
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_dbus.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_parser.c
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp.h
Examining data/sssd-2.3.1/src/lib/sifp/sss_sifp_private.h
Examining data/sssd-2.3.1/src/lib/cifs_idmap_sss/cifs_idmap_sss.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap.h
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap_krb5_match.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_cert_content_nss.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_cert_content_common.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap_ldap_mapping.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap_attr_names.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap_int.h
Examining data/sssd-2.3.1/src/lib/certmap/sss_cert_content_crypto.c
Examining data/sssd-2.3.1/src/lib/certmap/sss_certmap.c
Examining data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_localauth_plugin.c
Examining data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_groups.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_components.c
Examining data/sssd-2.3.1/src/responder/ifp/ifpsrv_cmd.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_users.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_private.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface_nodes.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_components.h
Examining data/sssd-2.3.1/src/responder/ifp/ifpsrv_util.c
Examining data/sssd-2.3.1/src/responder/ifp/ifpsrv.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface_async.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_client_sync.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_server.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_arguments.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_symbols.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface_types.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_interface.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_keygens.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_invokers.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_arguments.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_invokers.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_client_properties.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_keygens.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface_types.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_client_async.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_symbols.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_client_async.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/sbus_ifp_client_sync.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface_sync.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_iface/ifp_iface.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_domains.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_groups.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_cache.c
Examining data/sssd-2.3.1/src/responder/ifp/ifp_domains.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_cache.h
Examining data/sssd-2.3.1/src/responder/ifp/ifp_users.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ops.h
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_be.h
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_secrets.c
Examining data/sssd-2.3.1/src/responder/kcm/kcm.h
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_secdb.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_pvt.h
Examining data/sssd-2.3.1/src/responder/kcm/kcm.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache.h
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_mem.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_op_queue.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ops.c
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_pvt.h
Examining data/sssd-2.3.1/src/responder/kcm/kcmsrv_cmd.c
Examining data/sssd-2.3.1/src/responder/pac/pacsrv.h
Examining data/sssd-2.3.1/src/responder/pac/pacsrv_cmd.c
Examining data/sssd-2.3.1/src/responder/pac/pacsrv.c
Examining data/sssd-2.3.1/src/responder/common/negcache_files.c
Examining data/sssd-2.3.1/src/responder/common/responder_packet.h
Examining data/sssd-2.3.1/src/responder/common/responder_get_domains.c
Examining data/sssd-2.3.1/src/responder/common/responder_packet.c
Examining data/sssd-2.3.1/src/responder/common/negcache.h
Examining data/sssd-2.3.1/src/responder/common/responder_cmd.c
Examining data/sssd-2.3.1/src/responder/common/responder_dp.c
Examining data/sssd-2.3.1/src/responder/common/responder_iface.c
Examining data/sssd-2.3.1/src/responder/common/responder_utils.c
Examining data/sssd-2.3.1/src/responder/common/responder_sbus.h
Examining data/sssd-2.3.1/src/responder/common/negcache.c
Examining data/sssd-2.3.1/src/responder/common/responder.h
Examining data/sssd-2.3.1/src/responder/common/negcache_files.h
Examining data/sssd-2.3.1/src/responder/common/responder_common.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_sr_overlay.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_domain.h
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_enum_users.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_initgroups_by_upn.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_svc_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_enum_ip_hosts.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_object_by_sid.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ssh_host_id_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_group_by_id.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_group_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_initgroups_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_user_by_id.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_enum_ip_networks.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_autofs_map_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_object_by_id.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_common.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_user_by_upn.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_group_by_filter.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_network_by_addr.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_network_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_host_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_svc_by_port.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_user_by_filter.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_enum_svc.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_user_by_cert.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_object_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_autofs_entry_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_enum_groups.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_autofs_map_entries.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_user_by_name.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_host_by_addr.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_result.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_private.h
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req.h
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_plugin.h
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_domain.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_data.c
Examining data/sssd-2.3.1/src/responder/common/cache_req/cache_req_search.c
Examining data/sssd-2.3.1/src/responder/pam/pamsrv.c
Examining data/sssd-2.3.1/src/responder/pam/pam_LOCAL_domain.c
Examining data/sssd-2.3.1/src/responder/pam/pamsrv_dp.c
Examining data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c
Examining data/sssd-2.3.1/src/responder/pam/pam_prompting_config.c
Examining data/sssd-2.3.1/src/responder/pam/pam_helpers.c
Examining data/sssd-2.3.1/src/responder/pam/pam_helpers.h
Examining data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c
Examining data/sssd-2.3.1/src/responder/pam/pamsrv.h
Examining data/sssd-2.3.1/src/responder/ssh/sshsrv.c
Examining data/sssd-2.3.1/src/responder/ssh/ssh_private.h
Examining data/sssd-2.3.1/src/responder/ssh/ssh_known_hosts.c
Examining data/sssd-2.3.1/src/responder/ssh/ssh_protocol.c
Examining data/sssd-2.3.1/src/responder/ssh/ssh_reply.c
Examining data/sssd-2.3.1/src/responder/ssh/ssh_cmd.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol.h
Examining data/sssd-2.3.1/src/responder/nss/nss_utils.c
Examining data/sssd-2.3.1/src/responder/nss/nss_iface.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol.c
Examining data/sssd-2.3.1/src/responder/nss/nss_cmd.c
Examining data/sssd-2.3.1/src/responder/nss/nsssrv.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_grent.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_svcent.c
Examining data/sssd-2.3.1/src/responder/nss/nss_private.h
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_sid.c
Examining data/sssd-2.3.1/src/responder/nss/nss_get_object.c
Examining data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.h
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_pwent.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_netent.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_hostent.c
Examining data/sssd-2.3.1/src/responder/nss/nss_iface.h
Examining data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c
Examining data/sssd-2.3.1/src/responder/nss/nss_protocol_netgr.c
Examining data/sssd-2.3.1/src/responder/nss/nss_enum.c
Examining data/sssd-2.3.1/src/responder/autofs/autofssrv.c
Examining data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c
Examining data/sssd-2.3.1/src/responder/autofs/autofs_private.h
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv_get_sudorules.c
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv_dp.c
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv_private.h
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv_query.c
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv_cmd.c
Examining data/sssd-2.3.1/src/responder/sudo/sudosrv.c
Examining data/sssd-2.3.1/src/responder/secrets/secsrv_local.h
Examining data/sssd-2.3.1/src/responder/secrets/secsrv_private.h
Examining data/sssd-2.3.1/src/responder/secrets/secsrv_cmd.c
Examining data/sssd-2.3.1/src/responder/secrets/secsrv_proxy.h
Examining data/sssd-2.3.1/src/responder/secrets/local.c
Examining data/sssd-2.3.1/src/responder/secrets/secsrv.h
Examining data/sssd-2.3.1/src/responder/secrets/proxy.c
Examining data/sssd-2.3.1/src/responder/secrets/secsrv.c
Examining data/sssd-2.3.1/src/responder/secrets/providers.c
Examining data/sssd-2.3.1/src/sbus/sbus.h
Examining data/sssd-2.3.1/src/sbus/sbus_private.h
Examining data/sssd-2.3.1/src/sbus/sbus_opath.c
Examining data/sssd-2.3.1/src/sbus/sbus_declarations.h
Examining data/sssd-2.3.1/src/sbus/sbus_errors.h
Examining data/sssd-2.3.1/src/sbus/sbus_sync.h
Examining data/sssd-2.3.1/src/sbus/router/sbus_router_handler.c
Examining data/sssd-2.3.1/src/sbus/router/sbus_router_hash.c
Examining data/sssd-2.3.1/src/sbus/router/sbus_router.c
Examining data/sssd-2.3.1/src/sbus/sbus_interface_declarations.h
Examining data/sssd-2.3.1/src/sbus/sync/sbus_sync.c
Examining data/sssd-2.3.1/src/sbus/sync/sbus_sync_call.c
Examining data/sssd-2.3.1/src/sbus/sbus_sync_private.h
Examining data/sssd-2.3.1/src/sbus/sbus_annotations.h
Examining data/sssd-2.3.1/src/sbus/sbus_opath.h
Examining data/sssd-2.3.1/src/sbus/sbus_typeof.h
Examining data/sssd-2.3.1/src/sbus/sbus_request.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_client_sync.c
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_server.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_symbols.c
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_interface.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_client_properties.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_client_async.c
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_client_sync.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_keygens.c
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_symbols.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_invokers.c
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_arguments.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_invokers.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_keygens.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_client_async.h
Examining data/sssd-2.3.1/src/sbus/interface_dbus/sbus_dbus_arguments.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_request_hash.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_request_sender.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_request_call.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_message.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_request_util.c
Examining data/sssd-2.3.1/src/sbus/request/sbus_request.c
Examining data/sssd-2.3.1/src/sbus/server/sbus_server_handler.c
Examining data/sssd-2.3.1/src/sbus/server/sbus_server_interface.c
Examining data/sssd-2.3.1/src/sbus/server/sbus_server.c
Examining data/sssd-2.3.1/src/sbus/server/sbus_server_match.c
Examining data/sssd-2.3.1/src/sbus/sbus_message.h
Examining data/sssd-2.3.1/src/sbus/sbus_errors.c
Examining data/sssd-2.3.1/src/sbus/sbus_interface.h
Examining data/sssd-2.3.1/src/sbus/interface/sbus_std_signals.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_properties.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_iterator_readers.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_iterator_writers.h
Examining data/sssd-2.3.1/src/sbus/interface/sbus_iterator_readers.h
Examining data/sssd-2.3.1/src/sbus/interface/sbus_properties_parser.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_iterator_writers.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c
Examining data/sssd-2.3.1/src/sbus/interface/sbus_interface.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_send.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_connection_connect.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_watch.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_reconnect.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_dispatcher.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_dbus_private.h
Examining data/sssd-2.3.1/src/sbus/connection/sbus_dbus.c
Examining data/sssd-2.3.1/src/sbus/connection/sbus_connection.c
Examining data/sssd-2.3.1/src/tests/util-tests.c
Examining data/sssd-2.3.1/src/tests/fail_over-tests.c
Examining data/sssd-2.3.1/src/tests/sss_idmap-tests.c
Examining data/sssd-2.3.1/src/tests/crypto-tests.c
Examining data/sssd-2.3.1/src/tests/resolv-tests.c
Examining data/sssd-2.3.1/src/tests/refcount-tests.c
Examining data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c
Examining data/sssd-2.3.1/src/tests/find_uid-tests.c
Examining data/sssd-2.3.1/src/tests/common_check.h
Examining data/sssd-2.3.1/src/tests/common.h
Examining data/sssd-2.3.1/src/tests/ad_ldap_opt-tests.c
Examining data/sssd-2.3.1/src/tests/common_dom.c
Examining data/sssd-2.3.1/src/tests/auth-tests.c
Examining data/sssd-2.3.1/src/tests/dlopen-tests.c
Examining data/sssd-2.3.1/src/tests/ipa_ldap_opt-tests.c
Examining data/sssd-2.3.1/src/tests/ipa_hbac-tests.c
Examining data/sssd-2.3.1/src/tests/strtonum-tests.c
Examining data/sssd-2.3.1/src/tests/cwrap/test_responder_common.c
Examining data/sssd-2.3.1/src/tests/cwrap/test_usertools.c
Examining data/sssd-2.3.1/src/tests/cwrap/test_become_user.c
Examining data/sssd-2.3.1/src/tests/cwrap/test_server.c
Examining data/sssd-2.3.1/src/tests/debug-tests.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_utils.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_deskprofile_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_responder_common.c
Examining data/sssd-2.3.1/src/tests/cmocka/sss_nss_idmap-tests.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_resp.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_data_provider_be.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_fo_srv.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_config_check.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_resp.h
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_sdap.h
Examining data/sssd-2.3.1/src/tests/cmocka/data_provider/mock_dp.c
Examining data/sssd-2.3.1/src/tests/cmocka/data_provider/mock_dp.h
Examining data/sssd-2.3.1/src/tests/cmocka/data_provider/test_dp_builtin.c
Examining data/sssd-2.3.1/src/tests/cmocka/data_provider/test_dp_request.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_be_ptask.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_domain_resolution_order.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ipa_idmap.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_krb5_common.c
Examining data/sssd-2.3.1/src/tests/cmocka/dummy_child.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_find_uid.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_search_bases.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ad_subdomains.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_copy_ccache.c
Examining data/sssd-2.3.1/src/tests/cmocka/sbus/test_sbus_message.c
Examining data/sssd-2.3.1/src/tests/cmocka/sbus/test_sbus_opath.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sss_ssh.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_views.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ad_access_filter.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_ts_cache.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_tools_colondb.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_be.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_ad_gpo.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_prompt_config.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_sdap_access.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_expire_common.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_string_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_child_common.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_be.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_domain_resolution_order.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_negcache.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_sdap.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_localauth_plugin.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ldap_auth.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_sudo.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_nested_groups.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ifp.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sss_idmap.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_iobuf.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_krb5_wait_queue.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_expire_common.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_sdap_access.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sdap.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sdap_certmap.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_resp_dp.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_negcache_2.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_inotify.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ipa_dn.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_cert_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_sysdb_objects.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_certmap.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c
Examining data/sssd-2.3.1/src/tests/cmocka/confdb/test_confdb.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_sysdb_objects.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_sss_sifp.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_wbc_calls.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_simple_access.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sysdb_certmap.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_krb5.h
Examining data/sssd-2.3.1/src/tests/cmocka/test_kcm_json_marshalling.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_io.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_resolv_fake.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_kcm_queue.c
Examining data/sssd-2.3.1/src/tests/cmocka/wrap_sss_nss_make_request_timeout.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sdap_initgr.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_copy_keytab.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_fqnames.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_authtok.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ldap_id_cleanup.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_utils.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_responder_cache_req.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_ad_common.c
Examining data/sssd-2.3.1/src/tests/cmocka/common_mock_krb5.c
Examining data/sssd-2.3.1/src/tests/cmocka/test_sss_ptr_hash.c
Examining data/sssd-2.3.1/src/tests/tcurl_test_tool.c
Examining data/sssd-2.3.1/src/tests/safe-format-tests.c
Examining data/sssd-2.3.1/src/tests/sysdb_ssh-tests.c
Examining data/sssd-2.3.1/src/tests/responder_socket_access-tests.c
Examining data/sssd-2.3.1/src/tests/common_tev.c
Examining data/sssd-2.3.1/src/tests/leak_check.c
Examining data/sssd-2.3.1/src/tests/common.c
Examining data/sssd-2.3.1/src/tests/krb5_utils-tests.c
Examining data/sssd-2.3.1/src/tests/sysdb-tests.c
Examining data/sssd-2.3.1/src/tests/files-tests.c
Examining data/sssd-2.3.1/src/tests/check_and_open-tests.c
Examining data/sssd-2.3.1/src/tests/common_check.c
Examining data/sssd-2.3.1/src/tests/krb5_child-test.c
Examining data/sssd-2.3.1/src/tests/test_ssh_client.c
Examining data/sssd-2.3.1/src/tests/stress-tests.c
Examining data/sssd-2.3.1/src/tools/sss_usermod.c
Examining data/sssd-2.3.1/src/tools/sss_seed.c
Examining data/sssd-2.3.1/src/tools/sss_userdel.c
Examining data/sssd-2.3.1/src/tools/tools_util.c
Examining data/sssd-2.3.1/src/tools/sss_sync_ops.c
Examining data/sssd-2.3.1/src/tools/tools_mc_util.c
Examining data/sssd-2.3.1/src/tools/sss_groupmod.c
Examining data/sssd-2.3.1/src/tools/sss_override.c
Examining data/sssd-2.3.1/src/tools/sss_groupdel.c
Examining data/sssd-2.3.1/src/tools/sss_signal.c
Examining data/sssd-2.3.1/src/tools/sss_groupshow.c
Examining data/sssd-2.3.1/src/tools/common/sss_colondb.h
Examining data/sssd-2.3.1/src/tools/common/sss_tools.h
Examining data/sssd-2.3.1/src/tools/common/sss_process.c
Examining data/sssd-2.3.1/src/tools/common/sss_tools.c
Examining data/sssd-2.3.1/src/tools/common/sss_process.h
Examining data/sssd-2.3.1/src/tools/common/sss_colondb.c
Examining data/sssd-2.3.1/src/tools/tools_util.h
Examining data/sssd-2.3.1/src/tools/sss_useradd.c
Examining data/sssd-2.3.1/src/tools/sss_cache.c
Examining data/sssd-2.3.1/src/tools/sssd_check_socket_activated_responders.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_domains.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_logs.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_cert.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_config.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_systemd.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_user_checks.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl.h
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_access_report.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_data.c
Examining data/sssd-2.3.1/src/tools/sssctl/sssctl_cache.c
Examining data/sssd-2.3.1/src/tools/sss_sync_ops.h
Examining data/sssd-2.3.1/src/tools/sss_groupadd.c
Examining data/sssd-2.3.1/src/p11_child/p11_child_common_utils.c
Examining data/sssd-2.3.1/src/p11_child/p11_child_openssl.c
Examining data/sssd-2.3.1/src/p11_child/p11_child_nss.c
Examining data/sssd-2.3.1/src/p11_child/p11_child.h
Examining data/sssd-2.3.1/src/p11_child/p11_child_common.c
Examining data/sssd-2.3.1/src/db/sysdb_subdomains.c
Examining data/sssd-2.3.1/src/db/sysdb_autofs.h
Examining data/sssd-2.3.1/src/db/sysdb_domain_resolution_order.c
Examining data/sssd-2.3.1/src/db/sysdb_upgrade.c
Examining data/sssd-2.3.1/src/db/sysdb_ops.c
Examining data/sssd-2.3.1/src/db/sysdb_search.c
Examining data/sssd-2.3.1/src/db/sysdb.c
Examining data/sssd-2.3.1/src/db/sysdb_views.c
Examining data/sssd-2.3.1/src/db/sysdb_iphosts.h
Examining data/sssd-2.3.1/src/db/sysdb_iphosts.c
Examining data/sssd-2.3.1/src/db/sysdb_idmap.c
Examining data/sssd-2.3.1/src/db/sysdb_services.c
Examining data/sssd-2.3.1/src/db/sysdb_autofs.c
Examining data/sssd-2.3.1/src/db/sysdb.h
Examining data/sssd-2.3.1/src/db/sysdb_ssh.c
Examining data/sssd-2.3.1/src/db/sysdb_computer.h
Examining data/sssd-2.3.1/src/db/sysdb_computer.c
Examining data/sssd-2.3.1/src/db/sysdb_selinux.h
Examining data/sssd-2.3.1/src/db/sysdb_domain_resolution_order.h
Examining data/sssd-2.3.1/src/db/sysdb_selinux.c
Examining data/sssd-2.3.1/src/db/sysdb_ipnetworks.h
Examining data/sssd-2.3.1/src/db/sysdb_sudo.h
Examining data/sssd-2.3.1/src/db/sysdb_certmap.c
Examining data/sssd-2.3.1/src/db/sysdb_init.c
Examining data/sssd-2.3.1/src/db/sysdb_gpo.c
Examining data/sssd-2.3.1/src/db/sysdb_private.h
Examining data/sssd-2.3.1/src/db/sysdb_sudo.c
Examining data/sssd-2.3.1/src/db/sysdb_ssh.h
Examining data/sssd-2.3.1/src/db/sysdb_services.h
Examining data/sssd-2.3.1/src/db/sysdb_ranges.c
Examining data/sssd-2.3.1/src/db/sysdb_ipnetworks.c
Examining data/sssd-2.3.1/src/monitor/monitor.c
Examining data/sssd-2.3.1/src/monitor/monitor_netlink.c
Examining data/sssd-2.3.1/src/monitor/monitor.h
Examining data/sssd-2.3.1/src/sss_iface/sss_iface_async.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_arguments.h
Examining data/sssd-2.3.1/src/sss_iface/sss_iface.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_keygens.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_arguments.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_client_sync.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_client_properties.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_client_async.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_interface.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_symbols.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_invokers.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_client_async.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_client_sync.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_invokers.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_symbols.c
Examining data/sssd-2.3.1/src/sss_iface/sss_iface_sync.h
Examining data/sssd-2.3.1/src/sss_iface/sss_iface_types.h
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_server.h
Examining data/sssd-2.3.1/src/sss_iface/sss_iface_types.c
Examining data/sssd-2.3.1/src/sss_iface/sbus_sss_keygens.h
Examining data/sssd-2.3.1/src/sss_iface/sss_iface.c
Examining data/sssd-2.3.1/src/providers/files/files_certmap.c
Examining data/sssd-2.3.1/src/providers/files/files_ops.c
Examining data/sssd-2.3.1/src/providers/files/files_auth.c
Examining data/sssd-2.3.1/src/providers/files/files_id.c
Examining data/sssd-2.3.1/src/providers/files/files_private.h
Examining data/sssd-2.3.1/src/providers/files/files_init.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hosts.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_sudo_async.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_access.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_views.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_config.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_dn.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_utils.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_common.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_services.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_id.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_opts.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_private.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_hosts.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_sudo.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hostid.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_sudo.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_dyndns.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_opts.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_autofs.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_rules.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_netgroups.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_session.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_s2n_exop.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_selinux.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_sudo_conversion.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_config.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_id.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_rules_common.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_idmap.c
Examining data/sssd-2.3.1/src/providers/ipa/selinux_child.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_common.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_selinux_maps.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_init.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_refresh.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_config.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_id.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_session.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_access.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_utils.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hosts.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_common.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_srv.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_rules_common.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_dn.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_config.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_rules.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_ext_groups.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_sudo_refresh.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_auth.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_dyndns.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_server.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_srv.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_selinux_maps.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_hbac_users.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_auth.c
Examining data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_private.h
Examining data/sssd-2.3.1/src/providers/ipa/ipa_selinux.h
Examining data/sssd-2.3.1/src/providers/data_provider_req.h
Examining data/sssd-2.3.1/src/providers/data_provider_be.c
Examining data/sssd-2.3.1/src/providers/data_provider.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_common.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_auth.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_utils.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_keytab.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_init_shared.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_renew_tgt.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_common.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_init_shared.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_child.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_ccache.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_ccache.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_access.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_utils.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_wait_queue.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_auth.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_init.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_opts.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_delayed_online_authentication.c
Examining data/sssd-2.3.1/src/providers/krb5/krb5_opts.h
Examining data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c
Examining data/sssd-2.3.1/src/providers/ad/ad_subdomains.c
Examining data/sssd-2.3.1/src/providers/ad/ad_dyndns.c
Examining data/sssd-2.3.1/src/providers/ad/ad_domain_info.c
Examining data/sssd-2.3.1/src/providers/ad/ad_refresh.c
Examining data/sssd-2.3.1/src/providers/ad/ad_srv.h
Examining data/sssd-2.3.1/src/providers/ad/ad_access.h
Examining data/sssd-2.3.1/src/providers/ad/ad_gpo_ndr.c
Examining data/sssd-2.3.1/src/providers/ad/ad_sudo.c
Examining data/sssd-2.3.1/src/providers/ad/ad_pac.h
Examining data/sssd-2.3.1/src/providers/ad/ad_opts.h
Examining data/sssd-2.3.1/src/providers/ad/ad_init.c
Examining data/sssd-2.3.1/src/providers/ad/ad_resolver.h
Examining data/sssd-2.3.1/src/providers/ad/ad_gpo.h
Examining data/sssd-2.3.1/src/providers/ad/ad_opts.c
Examining data/sssd-2.3.1/src/providers/ad/ad_access.c
Examining data/sssd-2.3.1/src/providers/ad/ad_gpo_child.c
Examining data/sssd-2.3.1/src/providers/ad/ad_common.h
Examining data/sssd-2.3.1/src/providers/ad/ad_pac.c
Examining data/sssd-2.3.1/src/providers/ad/ad_machine_pw_renewal.c
Examining data/sssd-2.3.1/src/providers/ad/ad_gpo.c
Examining data/sssd-2.3.1/src/providers/ad/ad_domain_info.h
Examining data/sssd-2.3.1/src/providers/ad/ad_subdomains.h
Examining data/sssd-2.3.1/src/providers/ad/ad_id.h
Examining data/sssd-2.3.1/src/providers/ad/ad_resolver.c
Examining data/sssd-2.3.1/src/providers/ad/ad_srv.c
Examining data/sssd-2.3.1/src/providers/ad/ad_id.c
Examining data/sssd-2.3.1/src/providers/ad/ad_autofs.c
Examining data/sssd-2.3.1/src/providers/ad/ad_common.c
Examining data/sssd-2.3.1/src/providers/ad/ad_pac_common.c
Examining data/sssd-2.3.1/src/providers/backend.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_targets.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_hostid.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_private.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_iface_failover.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_request.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_request.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_modules.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_reply_std.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_iface.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_builtin.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_builtin.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_autofs.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_flags.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_subdomains.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_sudo.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_id.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_methods.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_custom_data.h
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_auth.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_resp_client.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_client.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_target_resolver.c
Examining data/sssd-2.3.1/src/providers/data_provider/dp_iface_backend.c
Examining data/sssd-2.3.1/src/providers/be_ptask_private.h
Examining data/sssd-2.3.1/src/providers/fail_over.c
Examining data/sssd-2.3.1/src/providers/be_ptask.c
Examining data/sssd-2.3.1/src/providers/be_refresh.c
Examining data/sssd-2.3.1/src/providers/be_dyndns.h
Examining data/sssd-2.3.1/src/providers/proxy/proxy_hosts.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_id.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_auth.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_services.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_ipnetworks.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy.h
Examining data/sssd-2.3.1/src/providers/proxy/proxy_netgroup.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_child.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_client.c
Examining data/sssd-2.3.1/src/providers/proxy/proxy_init.c
Examining data/sssd-2.3.1/src/providers/fail_over_srv.h
Examining data/sssd-2.3.1/src/providers/fail_over.h
Examining data/sssd-2.3.1/src/providers/data_provider_opts.c
Examining data/sssd-2.3.1/src/providers/simple/simple_access_check.c
Examining data/sssd-2.3.1/src/providers/simple/simple_access.c
Examining data/sssd-2.3.1/src/providers/simple/simple_access.h
Examining data/sssd-2.3.1/src/providers/simple/simple_access_pvt.h
Examining data/sssd-2.3.1/src/providers/fail_over_srv.c
Examining data/sssd-2.3.1/src/providers/data_provider_req.c
Examining data/sssd-2.3.1/src/providers/be_dyndns.c
Examining data/sssd-2.3.1/src/providers/be_refresh.h
Examining data/sssd-2.3.1/src/providers/data_provider_callbacks.c
Examining data/sssd-2.3.1/src/providers/be_ptask.h
Examining data/sssd-2.3.1/src/providers/data_provider_fo.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_access.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_initgroups_ad.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_dyndns.h
Examining data/sssd-2.3.1/src/providers/ldap/ldap_opts.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_iphost.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_iphost.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_ipnetwork.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_private.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_access.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_sudo_shared.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_certmap.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_ipnetwork.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_autofs.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_users.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_netgroups.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_reinit.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_enum.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_range.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_dyndns.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_common.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_initgroups.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_child.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_services.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_refresh.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_nested_groups.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_users.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_ops.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_sudo.h
Examining data/sssd-2.3.1/src/providers/ldap/ldap_auth.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_idmap.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_fd_events.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_common.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_init.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_id_op.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_range.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_online_check.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_resolver_enum.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_groups_ad.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_hostid.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_resolver_enum.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_resolver_enum.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_ad_groups.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_connection.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_hostid.h
Examining data/sssd-2.3.1/src/providers/ldap/ldap_auth.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_id_op.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_access.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_sudo_refresh.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_autofs.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_idmap.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_ops.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_ad.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_resolver_enum.h
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_hosts.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_options.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_resolver_cleanup.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_sudo_shared.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_id_enum.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_sudo.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_utils.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_id_netgroup.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_domain.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap.h
Examining data/sssd-2.3.1/src/providers/ldap/ldap_opts.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_async_enum.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_id_services.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_id.c
Examining data/sssd-2.3.1/src/providers/ldap/sdap_autofs.c
Examining data/sssd-2.3.1/src/providers/ldap/ldap_id_cleanup.c
Examining data/sssd-2.3.1/src/util/inotify.h
Examining data/sssd-2.3.1/src/util/sss_log.c
Examining data/sssd-2.3.1/src/util/refcount.c
Examining data/sssd-2.3.1/src/util/sss_python.h
Examining data/sssd-2.3.1/src/util/authtok-utils.h
Examining data/sssd-2.3.1/src/util/selinux.c
Examining data/sssd-2.3.1/src/util/sss_pam_data.h
Examining data/sssd-2.3.1/src/util/sss_krb5.c
Examining data/sssd-2.3.1/src/util/mmap_cache.h
Examining data/sssd-2.3.1/src/util/sss_krb5.h
Examining data/sssd-2.3.1/src/util/session_recording.c
Examining data/sssd-2.3.1/src/util/user_info_msg.h
Examining data/sssd-2.3.1/src/util/util.h
Examining data/sssd-2.3.1/src/util/sss_tc_utf8.c
Examining data/sssd-2.3.1/src/util/sss_ssh.c
Examining data/sssd-2.3.1/src/util/sss_python.c
Examining data/sssd-2.3.1/src/util/safe-format-string.h
Examining data/sssd-2.3.1/src/util/check_and_open.c
Examining data/sssd-2.3.1/src/util/util_sss_idmap.h
Examining data/sssd-2.3.1/src/util/util.c
Examining data/sssd-2.3.1/src/util/sss_cli_cmd.c
Examining data/sssd-2.3.1/src/util/sss_format.h
Examining data/sssd-2.3.1/src/util/string_utils.c
Examining data/sssd-2.3.1/src/util/sss_iobuf.h
Examining data/sssd-2.3.1/src/util/strtonum.h
Examining data/sssd-2.3.1/src/util/inotify.c
Examining data/sssd-2.3.1/src/util/sss_sockets.h
Examining data/sssd-2.3.1/src/util/sss_utf8.c
Examining data/sssd-2.3.1/src/util/sss_regexp.h
Examining data/sssd-2.3.1/src/util/find_uid.c
Examining data/sssd-2.3.1/src/util/sss_nss.h
Examining data/sssd-2.3.1/src/util/cert/cert_common_p11_child.c
Examining data/sssd-2.3.1/src/util/cert/libcrypto/cert.c
Examining data/sssd-2.3.1/src/util/cert/cert_common.c
Examining data/sssd-2.3.1/src/util/cert/nss/cert.c
Examining data/sssd-2.3.1/src/util/io.c
Examining data/sssd-2.3.1/src/util/sss_nss.c
Examining data/sssd-2.3.1/src/util/server.c
Examining data/sssd-2.3.1/src/util/util_creds.h
Examining data/sssd-2.3.1/src/util/util_errors.h
Examining data/sssd-2.3.1/src/util/authtok.h
Examining data/sssd-2.3.1/src/util/nss_dl_load.c
Examining data/sssd-2.3.1/src/util/sss_ptr_list.h
Examining data/sssd-2.3.1/src/util/find_uid.h
Examining data/sssd-2.3.1/src/util/domain_info_utils.c
Examining data/sssd-2.3.1/src/util/strtonum.c
Examining data/sssd-2.3.1/src/util/files.c
Examining data/sssd-2.3.1/src/util/atomic_io.c
Examining data/sssd-2.3.1/src/util/crypto/sss_crypto.h
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_prng.c
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_nite.c
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_base64.c
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_hmac_sha1.c
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/sss_openssl.h
Examining data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_obfuscate.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_prng.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_hmac_sha1.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_base64.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_util.h
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_util.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_obfuscate.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_nite.c
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_crypto.h
Examining data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c
Examining data/sssd-2.3.1/src/util/authtok-utils.c
Examining data/sssd-2.3.1/src/util/backup_file.c
Examining data/sssd-2.3.1/src/util/sss_selinux.c
Examining data/sssd-2.3.1/src/util/sss_ptr_hash.c
Examining data/sssd-2.3.1/src/util/sss_utf8.h
Examining data/sssd-2.3.1/src/util/sss_ini.c
Examining data/sssd-2.3.1/src/util/auth_utils.h
Examining data/sssd-2.3.1/src/util/sss_iobuf.c
Examining data/sssd-2.3.1/src/util/util_watchdog.c
Examining data/sssd-2.3.1/src/util/become_user.c
Examining data/sssd-2.3.1/src/util/refcount.h
Examining data/sssd-2.3.1/src/util/sss_ssh.h
Examining data/sssd-2.3.1/src/util/session_recording.h
Examining data/sssd-2.3.1/src/util/debug.h
Examining data/sssd-2.3.1/src/util/memory.c
Examining data/sssd-2.3.1/src/util/tev_curl.h
Examining data/sssd-2.3.1/src/util/sss_semanage.c
Examining data/sssd-2.3.1/src/util/usertools.c
Examining data/sssd-2.3.1/src/util/user_info_msg.c
Examining data/sssd-2.3.1/src/util/util_errors.c
Examining data/sssd-2.3.1/src/util/sss_ptr_hash.h
Examining data/sssd-2.3.1/src/util/dlinklist.h
Examining data/sssd-2.3.1/src/util/sss_regexp.c
Examining data/sssd-2.3.1/src/util/tev_curl.c
Examining data/sssd-2.3.1/src/util/probes.h
Examining data/sssd-2.3.1/src/util/debug.c
Examining data/sssd-2.3.1/src/util/safe-format-string.c
Examining data/sssd-2.3.1/src/util/sss_ldap.h
Examining data/sssd-2.3.1/src/util/util_lock.c
Examining data/sssd-2.3.1/src/util/sss_ptr_list.c
Examining data/sssd-2.3.1/src/util/sss_selinux.h
Examining data/sssd-2.3.1/src/util/util_ext.c
Examining data/sssd-2.3.1/src/util/child_common.h
Examining data/sssd-2.3.1/src/util/sss_ini.h
Examining data/sssd-2.3.1/src/util/sss_pam_data.c
Examining data/sssd-2.3.1/src/util/nscd.c
Examining data/sssd-2.3.1/src/util/secrets/config.c
Examining data/sssd-2.3.1/src/util/secrets/sec_pvt.h
Examining data/sssd-2.3.1/src/util/secrets/secrets.c
Examining data/sssd-2.3.1/src/util/secrets/secrets.h
Examining data/sssd-2.3.1/src/util/sss_endian.h
Examining data/sssd-2.3.1/src/util/util_sss_idmap.c
Examining data/sssd-2.3.1/src/util/util_preauth.c
Examining data/sssd-2.3.1/src/util/atomic_io.h
Examining data/sssd-2.3.1/src/util/nss_dl_load.h
Examining data/sssd-2.3.1/src/util/child_common.c
Examining data/sssd-2.3.1/src/util/cert.h
Examining data/sssd-2.3.1/src/util/signal.c
Examining data/sssd-2.3.1/src/util/sss_cli_cmd.h
Examining data/sssd-2.3.1/src/util/murmurhash3.c
Examining data/sssd-2.3.1/src/util/sss_sockets.c
Examining data/sssd-2.3.1/src/util/authtok.c
Examining data/sssd-2.3.1/src/util/sss_ldap.c
Examining data/sssd-2.3.1/src/util/well_known_sids.c
Examining data/sssd-2.3.1/src/confdb/confdb_setup.h
Examining data/sssd-2.3.1/src/confdb/confdb_setup.c
Examining data/sssd-2.3.1/src/confdb/confdb_private.h
Examining data/sssd-2.3.1/src/confdb/confdb.c
Examining data/sssd-2.3.1/src/confdb/confdb.h
Examining data/sssd-2.3.1/src/resolv/async_resolv.c
Examining data/sssd-2.3.1/src/resolv/async_resolv.h
Examining data/sssd-2.3.1/src/resolv/async_resolv_utils.c

FINAL RESULTS:

data/sssd-2.3.1/src/db/sysdb_init.c:109:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    ret = chown(sysdb->ldb_file, uid, gid);
data/sssd-2.3.1/src/db/sysdb_init.c:119:15:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        ret = chown(sysdb->ldb_ts_file, uid, gid);
data/sssd-2.3.1/src/monitor/monitor.c:1622:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    ret = chown(cdb_file, ctx->uid, ctx->gid);
data/sssd-2.3.1/src/providers/krb5/krb5_ccache.c:198:15:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        ret = chown(li->s, uid, gid);
data/sssd-2.3.1/src/responder/sudo/sudosrv.c:191:15:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        ret = chown(SSS_SUDO_SOCKET_NAME, uid, 0);
data/sssd-2.3.1/src/sbus/server/sbus_server.c:185:16:  [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.
    num_read = readlink(name, buf, buf_len - 1);
data/sssd-2.3.1/src/sbus/server/sbus_server.c:280:15:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        ret = chmod(filename, (S_IRUSR | S_IWUSR));
data/sssd-2.3.1/src/sbus/server/sbus_server.c:290:15:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        ret = chown(filename, uid, gid);
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:123:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    ret = chown(user_dir, uid, gid);
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:135:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ret = chmod(user_dir, 0600);
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:141:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ret = chmod(user_dir, 0700);
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:174:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    ret = chown(dirname, 12346, 12346);
data/sssd-2.3.1/src/util/debug.c:382:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    ret = chown(logpath, uid, gid);
data/sssd-2.3.1/src/util/domain_info_utils.c:530:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ret = chmod(mapping_file, 0644);
data/sssd-2.3.1/src/util/domain_info_utils.c:692:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ret = chmod(file_name, 0644);
data/sssd-2.3.1/src/db/sysdb_init.c:724:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ldb_file_exists = !(access(sysdb->ldb_file, F_OK) == -1 && errno == ENOENT);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:89:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__((format(printf, 1, 2)))
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:106:5:  [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.
    fprintf(stderr, DEBUG_KEY "%s", s);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:336:11:  [4] (format) snprintf:
  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.
    ret = snprintf(krb5info_name, len, name_tmpl, realm);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:628:11:  [4] (format) snprintf:
  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.
    len = snprintf(NULL, 0, SEC_SLICE_NAME_FMT, domain_sid, rid);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:638:12:  [4] (format) snprintf:
  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.
    len2 = snprintf(slice_name, len + 1, SEC_SLICE_NAME_FMT, domain_sid,
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1186:11:  [4] (format) snprintf:
  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.
    len = snprintf(NULL, 0, SID_FMT, dom_sid, rid);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1196:11:  [4] (format) snprintf:
  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.
    ret = snprintf(sid, len + 1, SID_FMT, dom_sid, rid);
data/sssd-2.3.1/src/lib/ipa_hbac/ipa_hbac.h:54:61:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HBAC_ATTRIBUTE_PRINTF(a1, a2) __attribute__((format(printf, a1, a2)))
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:86:5:  [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(result, str1);
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:87:5:  [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(result, str2);
data/sssd-2.3.1/src/monitor/monitor.c:2236:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(args[0], args);
data/sssd-2.3.1/src/monitor/monitor_netlink.c:265:11:  [4] (format) snprintf:
  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.
    ret = snprintf(path, SYSFS_IFACE_PATH_MAX, SYSFS_IFACE_TEMPLATE, ifname);
data/sssd-2.3.1/src/providers/ad/ad_machine_pw_renewal.c:318:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(RENEWAL_PROG_PATH, X_OK);
data/sssd-2.3.1/src/providers/be_dyndns.c:1047:9:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execv(NSUPDATE_PATH, args);
data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_server.c:532:11:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ret = execle(IPA_GETKEYTAB_PATH, IPA_GETKEYTAB_PATH,
data/sssd-2.3.1/src/providers/proxy/proxy_auth.c:205:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp(proxy_child_args[0], proxy_child_args);
data/sssd-2.3.1/src/python/pyhbac.c:61:12:  [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).
    return strcpy(copy, string);
data/sssd-2.3.1/src/python/pyhbac.c:74:12:  [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).
    return strcat(new_first, second);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache.c:1466:18:  [4] (format) snprintf:
  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.
    prefix_len = snprintf(prefix, sizeof(prefix),
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:155:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                   enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:164:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        .access = access,
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:176:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                    enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:186:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        .access = access,
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:279:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                             enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:285:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (iface->properties[i].access != access) {
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:285:44:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (iface->properties[i].access != access) {
data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c:54:11:  [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.
    ret = fprintf(file, fmt, ##__VA_ARGS__); \
data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c:217:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    enum sbus_property_access access;
data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c:237:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    properties[i].access |= property->access;
data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c:237:39:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    properties[i].access |= property->access;
data/sssd-2.3.1/src/sbus/interface/sbus_introspection.c:243:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    switch (property->access) {
data/sssd-2.3.1/src/sbus/interface/sbus_properties.c:335:49:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                      enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/interface/sbus_properties.c:353:52:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    property = sbus_interface_find_property(iface, access, property_name);
data/sssd-2.3.1/src/sbus/interface/sbus_properties.c:358:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    switch (access) {
data/sssd-2.3.1/src/sbus/interface/sbus_properties.c:630:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    } while (property->access != SBUS_PROPERTY_READABLE);
data/sssd-2.3.1/src/sbus/sbus_interface_declarations.h:205:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    const enum sbus_property_access access;
data/sssd-2.3.1/src/sbus/sbus_interface_declarations.h:349:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                   enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/sbus_interface_declarations.h:361:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                    enum sbus_property_access access,
data/sssd-2.3.1/src/sbus/sbus_private.h:90:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    struct sbus_connection_access *access;
data/sssd-2.3.1/src/sbus/sbus_private.h:598:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                             enum sbus_property_access access,
data/sssd-2.3.1/src/sss_client/common.c:550:5:  [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(nssaddr.sun_path, socket_name); /* safe due to above check */
data/sssd-2.3.1/src/sss_client/pam_sss.c:88:11:  [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.
    ret = vsnprintf(debug_msg, DEBUG_MGS_LEN, fmt, apd);
data/sssd-2.3.1/src/sss_client/pam_sss.c:372:11:  [4] (format) snprintf:
  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.
    ret = snprintf(filename, size, PW_RESET_MSG_FILENAME_TEMPLATE, domain_name,
data/sssd-2.3.1/src/sss_client/pam_sss.c:1855:11:  [4] (format) snprintf:
  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.
    ret = snprintf(prompt, size, SC_PROMPT_FMT, cai->token_name);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2563:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                        && access(PAM_PREAUTH_INDICATOR, F_OK) == 0) {
data/sssd-2.3.1/src/sss_client/pam_sss.c:2634:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                        && access(PAM_PREAUTH_INDICATOR, F_OK) == 0) {
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c:165:5:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execv(args[0], (char * const *)args);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:106:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dummy_kt, R_OK);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:702:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(ONEWAY_KEYTAB, R_OK);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:736:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(ONEWAY_KEYTAB, R_OK);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:784:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(ONEWAY_KEYTAB, R_OK);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:817:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(ONEWAY_KEYTAB, R_OK);
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:160:15:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = execlp("certutil", "certutil", "-N", "--empty-password", "-d",
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:176:15:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = execlp("certutil", "certutil", "-N", "--empty-password", "-d",
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:192:15:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = execlp("certutil", "certutil", "-N", "--empty-password", "-d",
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:208:15:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = execlp("certutil", "certutil", "-N", "--empty-password", "-d",
data/sssd-2.3.1/src/tests/files-tests.c:67:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = system(cmd);
data/sssd-2.3.1/src/tests/files-tests.c:74:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = system(cmd);
data/sssd-2.3.1/src/tests/files-tests.c:150:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dir_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:199:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dir_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:246:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dst_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:290:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(bar_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:332:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dst_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:371:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(dst_path, F_OK);
data/sssd-2.3.1/src/tests/files-tests.c:375:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    ret = access(tmp, F_OK);
data/sssd-2.3.1/src/tests/krb5_child-test.c:423:24:  [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("Enter password:");
data/sssd-2.3.1/src/tests/leak_check.c:44:9:  [4] (format) snprintf:
  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.
        snprintf(leak_err_msg, sizeof(leak_err_msg),  \
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:157:11:  [4] (format) snprintf:
  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.
    len = snprintf(p, DATA_MAX, "%s, %s %s, %"PRIu32", %"PRIu32", %" PRIu32,
data/sssd-2.3.1/src/tests/test_ssh_client.c:107:9:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execv(av[0], av);
data/sssd-2.3.1/src/tools/sss_cache.c:163:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (systemd_offline && strcmp (systemd_offline, "1") == 0 && access(DB_PATH, W_OK) != 0) {
data/sssd-2.3.1/src/tools/sss_groupshow.c:613:5:  [4] (format) snprintf:
  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.
    snprintf(padding, 512, fmt, "");
data/sssd-2.3.1/src/tools/sss_seed.c:212:12:  [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.
    temp = getpass("Enter temporary password:");
data/sssd-2.3.1/src/tools/sss_seed.c:236:12:  [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.
    temp = getpass("Enter temporary password again:");
data/sssd-2.3.1/src/tools/sss_userdel.c:91:9:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execlp(KILL_CMD, KILL_CMD,
data/sssd-2.3.1/src/tools/sssctl/sssctl.c:106:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ret = system(command);
data/sssd-2.3.1/src/tools/sssctl/sssctl_cache.c:518:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        printf(noent_fmt, attr_value);
data/sssd-2.3.1/src/tools/sssctl/sssctl_data.c:63:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return access(file, F_OK) == 0;
data/sssd-2.3.1/src/tools/tools_util.c:541:9:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execl(userdel_cmd, userdel_cmd,
data/sssd-2.3.1/src/util/child_common.c:775:5:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execv(binary, argv);
data/sssd-2.3.1/src/util/debug.c:186:5:  [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(debug_file ? debug_file : stderr, format, ap);
data/sssd-2.3.1/src/util/debug.h:29:61:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define SSS_ATTRIBUTE_PRINTF(a1, a2) __attribute__((format (printf, a1, a2)))
data/sssd-2.3.1/src/util/debug.h:165:25:  [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 PRINT(fmt, ...) fprintf(stdout, gettext(fmt), ##__VA_ARGS__)
data/sssd-2.3.1/src/util/debug.h:166:25:  [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 ERROR(fmt, ...) fprintf(stderr, gettext(fmt), ##__VA_ARGS__)
data/sssd-2.3.1/src/util/nscd.c:63:9:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execl(NSCD_PATH, NSCD_PATH, NSCD_RELOAD_ARG, service, NULL);
data/sssd-2.3.1/src/db/sysdb_init.c:72:16:  [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.
    mod_path = getenv(LDB_MODULES_PATH);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:405: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.
    dummy = getenv(SSSD_KRB5_LOCATOR_DEBUG);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:413: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.
    dummy = getenv(SSSD_KRB5_LOCATOR_DISABLE);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:423: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.
    dummy = getenv(SSSD_KRB5_LOCATOR_IGNORE_DNS_FAILURES);
data/sssd-2.3.1/src/ldb_modules/memberof.c:2872:9:  [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("SSSD_UPGRADE_DB")) {
data/sssd-2.3.1/src/providers/files/files_init.c:54:24:  [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.
    dfl_passwd_files = getenv("SSS_FILES_PASSWD");
data/sssd-2.3.1/src/providers/files/files_init.c:66:23:  [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_group_files = getenv("SSS_FILES_GROUP");
data/sssd-2.3.1/src/providers/ldap/ldap_child.c:415:15:  [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.
    tmp_str = getenv("KRB5_CANONICALIZE");
data/sssd-2.3.1/src/resolv/async_resolv.c:2185:5:  [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(time(NULL) * getpid());
data/sssd-2.3.1/src/sss_client/common.c:732:14:  [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.
    envval = getenv("_SSS_LOOPS");
data/sssd-2.3.1/src/sss_client/common.c:817:14:  [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.
    envval = getenv("_SSS_LOOPS");
data/sssd-2.3.1/src/sss_client/common.c:907:14:  [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.
    envval = getenv("_SSS_LOOPS");
data/sssd-2.3.1/src/sss_client/nss_mc_common.c:203:14:  [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.
    envval = getenv("SSS_NSS_USE_MEMCACHE");
data/sssd-2.3.1/src/sss_client/pam_sss.c:2447:24:  [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.
    login_token_name = getenv("PKCS11_LOGIN_TOKEN_NAME");
data/sssd-2.3.1/src/tests/cmocka/dummy_child.c:83:14:  [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.
    action = getenv("TEST_CHILD_ACTION");
data/sssd-2.3.1/src/tests/cmocka/test_expire_common.c:113:15:  [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.
    orig_tz = getenv("TZ");
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:115:15:  [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.
    test_kt = getenv("TEST_KT_ENV");
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:121:24:  [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.
    fail_creating_kt = getenv("KT_CREATE_FAIL");
data/sssd-2.3.1/src/tests/common.c:115:9:  [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("LDB_MODULES_PATH")) {
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:69: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.
    val = getenv("SSSD_INTG_SECRETS_PEER");
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:81: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.
    val = getenv("SSSD_INTG_PEER_UID");
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:86: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.
    val = getenv("SSSD_INTG_PEER_GID");
data/sssd-2.3.1/src/tests/util-tests.c:1060:15:  [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.
    orig_tz = getenv("TZ");
data/sssd-2.3.1/src/tools/sss_cache.c:162:35:  [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.
    const char *systemd_offline = getenv ("SYSTEMD_OFFLINE");
data/sssd-2.3.1/src/util/debug.c:240:14:  [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.
    domain = getenv(SSS_DOM_ENV);
data/sssd-2.3.1/src/util/domain_info_utils.c:274:14:  [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.
    config = getenv("KRB5_CONFIG");
data/sssd-2.3.1/src/util/inotify.c:389:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    if (realpath(filename, resolved) == NULL) {
data/sssd-2.3.1/src/util/sss_log.c:100:14:  [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.
    domain = getenv(SSS_DOM_ENV);
data/sssd-2.3.1/src/util/tev_curl.c:578:14:  [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.
    envval = getenv("SSS_KCM_LOG_PRIVATE_DATA");
data/sssd-2.3.1/src/util/util.c:1010:9:  [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(time(NULL) * getpid());
data/sssd-2.3.1/src/confdb/confdb.c:65: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(ret, "cn=", 3);
data/sssd-2.3.1/src/confdb/confdb.c:66: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(&ret[3], comp, clen);
data/sssd-2.3.1/src/confdb/confdb.c:1918: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.
    const char *val[2] = { NULL, NULL };
data/sssd-2.3.1/src/confdb/confdb.c:1952: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.
    const char *domlist[2] = { NULL, NULL };
data/sssd-2.3.1/src/confdb/confdb.c:2070: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.
    const char *val[2] = { NULL, NULL };
data/sssd-2.3.1/src/confdb/confdb_setup.c:137:5:  [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 timestr[21] = "1";
data/sssd-2.3.1/src/confdb/confdb_setup.c:278: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.
    const char *vals[2] = { NULL, NULL };
data/sssd-2.3.1/src/db/sysdb.c:1011:32:  [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 *)attrs[attr_idx]->a[i].values[0].data);
data/sssd-2.3.1/src/db/sysdb.c:1053: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.
    const char *attrs[2] = {attr_name, NULL};
data/sssd-2.3.1/src/db/sysdb.c:1193: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.
    const char *attrs[2] = {attr_name, NULL};
data/sssd-2.3.1/src/db/sysdb.c:2065: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.
    const char *attrnames[attrs->num+1];
data/sssd-2.3.1/src/db/sysdb_ops.c:5579:5:  [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 guid_str_buf[GUID_STR_BUF_SIZE];
data/sssd-2.3.1/src/db/sysdb_sudo.c:630: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.
    const char *attrs[2] = {attr_name, NULL};
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:344:10:  [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(krb5info_name, O_RDONLY);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:468:5:  [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 port_str[PORT_STR_SIZE];
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:471:5:  [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 address[NI_MAXHOST];
data/sssd-2.3.1/src/ldb_modules/memberof.c:428:43:  [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 *) ghvals[j].data,
data/sssd-2.3.1/src/ldb_modules/memberof.c:2550:43:  [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 *) ghvals[j].data,
data/sssd-2.3.1/src/ldb_modules/memberof.c:3821:46:  [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.
        var->vals[vi].length = strlen((const char *) values[i].data);
data/sssd-2.3.1/src/ldb_modules/memberof.c:3823:50:  [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 *) values[i].data);
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_crypto.c:101:5:  [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 oid_buf[128]; /* FIXME: any other size ?? */
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_crypto.c:422:5:  [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 oid_buf[128]; /* FIXME: any other size ?? */
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_crypto.c:661:5:  [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 oid_buf[128]; /* FIXME: any other size ?? */
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_nss.c:611:5:  [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       addrBuf[80];
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_nss.c:621:9:  [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(&addr.inet.ip, data, len);
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_nss.c:624:9:  [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(addr.ipv6.ip.pr_s6_addr, data, len);
data/sssd-2.3.1/src/lib/certmap/sss_cert_content_nss.c:628:13:  [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(&addr.inet.ip, &addr.ipv6.ip.pr_s6_addr[12], 4);
data/sssd-2.3.1/src/lib/cifs_idmap_sss/cifs_idmap_sss.c:153: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(csid, bsid, length);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:87: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(new, str, len);
data/sssd-2.3.1/src/lib/ipa_hbac/hbac_evaluator.c:431:9:  [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 time_buff[buff_size];
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:62: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(result, str, str_len);
data/sssd-2.3.1/src/lib/winbind_idmap_sss/winbind_idmap_sss.c:130:9:  [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(map[c]->sid, sid, sizeof(struct dom_sid));
data/sssd-2.3.1/src/monitor/monitor_netlink.c:175:5:  [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 type_path[SYSFS_TYPE_PATH_MAX];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:178:5:  [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[BUFSIZE];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:191:10:  [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(type_path, O_RDONLY);
data/sssd-2.3.1/src/monitor/monitor_netlink.c:217:5:  [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 phy80211_path[SYSFS_SUBDIR_PATH_MAX];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:256:5:  [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[SYSFS_IFACE_PATH_MAX];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:576:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:656:5:  [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 str_flags[512];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:659:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/monitor/monitor_netlink.c:742:5:  [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 str_flags[512];
data/sssd-2.3.1/src/p11_child/p11_child_nss.c:138:5:  [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 *values[13];
data/sssd-2.3.1/src/p11_child/p11_child_nss.c:535:14:  [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 random_value[128];
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:545: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(p11_kit_uri_get_token_info(uri), token_info, sizeof(CK_TOKEN_INFO));
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:547: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(p11_kit_uri_get_slot_info(uri), slot_info, sizeof(CK_SLOT_INFO));
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:550: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(p11_kit_uri_get_module_info(uri), module_info, sizeof(CK_INFO));
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1049:5:  [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 der_buf[128]; /* FIXME: any other size ?? */
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1050:5:  [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 oid_buf[128]; /* FIXME: any other size ?? */
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1115:14:  [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 md_value[EVP_MAX_MD_SIZE];
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1154: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(out, md_value, md_len);
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1260: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(&out[4 + r_add], r, r_len);
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1266: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(&out[6 + r_add + r_len + s_add], s, s_len);
data/sssd-2.3.1/src/providers/ad/ad_access.c:317: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(&req_ctx->access_rule,
data/sssd-2.3.1/src/providers/ad/ad_common.c:490:5:  [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 hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/ad/ad_common.c:491:5:  [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 fqdn[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/ad/ad_common.c:1639:5:  [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 *option_list[2] = { NULL, NULL };
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:420:20:  [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.
        key.str = (char *)add_list[i];
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:4426:44:  [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.
            || machine_ext_names_is_blank((char *) el[0].values[0].data)) {
data/sssd-2.3.1/src/providers/ad/ad_pac.c:191: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(sid_str, dom_sid_str, dom_sid_str_len);
data/sssd-2.3.1/src/providers/ad/ad_pac.c:308: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(sid_str, user_dom_sid_str, user_dom_sid_str_len);
data/sssd-2.3.1/src/providers/ad/ad_subdomains.c:1583: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.
    const char *attrs[3];
data/sssd-2.3.1/src/providers/be_dyndns.c:122:5:  [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 ip_addr[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/providers/be_dyndns.c:172:9:  [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(&sa6, sa, sizeof(struct sockaddr_in6));
data/sssd-2.3.1/src/providers/be_dyndns.c:175:9:  [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(&sa4, sa, sizeof(struct sockaddr_in));
data/sssd-2.3.1/src/providers/be_dyndns.c:273:5:  [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 ip_addr[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/providers/data_provider_fo.c:238:5:  [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 resolved_hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/data_provider_fo.c:650:9:  [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 ipaddr[128];
data/sssd-2.3.1/src/providers/files/files_ops.c:58:18:  [2] (misc) fopen:
  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).
    pwd_handle = fopen(passwd_file, "r");
data/sssd-2.3.1/src/providers/files/files_ops.c:155:18:  [2] (misc) fopen:
  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).
    grp_handle = fopen(group_file, "r");
data/sssd-2.3.1/src/providers/ipa/ipa_common.c:52:5:  [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 hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:294:5:  [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[PATH_MAX];
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:903:10:  [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_path, O_WRONLY | O_CREAT | O_TRUNC, 0400);
data/sssd-2.3.1/src/providers/ipa/ipa_netgroups.c:814:21:  [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(&ret_array[ret_count], state->entries,
data/sssd-2.3.1/src/providers/ipa/ipa_subdomains.c:2278: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.
    const char *discovery_domains[2];
data/sssd-2.3.1/src/providers/ipa/ipa_subdomains.c:2447: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.
    const char *discovery_domains[2];
data/sssd-2.3.1/src/providers/ipa/ipa_subdomains_server.c:501: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.
    const char *gkt_env[3] = { NULL, "_SSS_LOOPS=NO", NULL };
data/sssd-2.3.1/src/providers/ipa/ipa_sudo_conversion.c:1131: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.
    const char **cmds[2];
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1138:9:  [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(msg, kr->otp_vendor, vendor_len);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1143:9:  [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(msg + idx, kr->otp_token_id, token_id_len);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1148:9:  [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(msg + idx, kr->otp_challenge, challenge_len);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:3197:10:  [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("/etc/krb5.conf", O_RDONLY);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:767: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(&res->tgtt, &tgtt, sizeof(tgtt));
data/sssd-2.3.1/src/providers/krb5/krb5_keytab.c:97:5:  [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 keytab_name[MAX_KEYTAB_NAME_LEN];
data/sssd-2.3.1/src/providers/krb5/krb5_keytab.c:102:5:  [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 default_keytab_name[MAX_KEYTAB_NAME_LEN];
data/sssd-2.3.1/src/providers/ldap/ldap_child.c:339:9:  [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 hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/ldap/ldap_id.c:680: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.
    const char *member_filter[2];
data/sssd-2.3.1/src/providers/ldap/sdap.c:950:41:  [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 *)vals[i].data, vals[i].length);
data/sssd-2.3.1/src/providers/ldap/sdap_access.c:1250:5:  [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 hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/ldap/sdap_async.c:1247:5:  [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 ip[NI_MAXHOST];
data/sssd-2.3.1/src/providers/ldap/sdap_async_autofs.c:130:20:  [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.
        key.str = (char *) add_dn_list[i];
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:278:24:  [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.
            key.str = (char *)values[i].data;
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:283:49:  [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.
            sdom = sdap_domain_get_by_dn(opts, (char *)values[i].data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:286:36:  [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.
                      "scope?\n", (char *)values[i].data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:296:58:  [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.
                                            member_dom, (char *)values[i].data,
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:303:56:  [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.
                      "cache. Is it out of scope?\n", (char *)values[i].data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:309:24:  [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 *)values[i].data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:314:27:  [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.
                      i, (char *)values[i].data,
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1673:52:  [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 *) el[0].values[0].data,
data/sssd-2.3.1/src/providers/ldap/sdap_async_initgroups.c:3509: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.
    const char *attrs[2];
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:200:5:  [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 ip_addr[INET6_ADDRSTRLEN + 1];
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:201:5:  [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 network_addr[INET6_ADDRSTRLEN + 1];
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:233:13:  [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(&ip4_addr, iface->ifa_addr, sizeof(struct sockaddr_in));
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:234:13:  [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(&ip4_network, iface->ifa_netmask, sizeof(struct sockaddr_in));
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:257:13:  [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(&ip6_addr, iface->ifa_addr, sizeof(struct sockaddr_in6));
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:258:13:  [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(&ip6_network, iface->ifa_netmask, sizeof(struct sockaddr_in6));
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo_hostinfo.c:360:5:  [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 hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/providers/proxy/proxy_child.c:91:17:  [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(reply[i].resp, password, pwlen + 1);
data/sssd-2.3.1/src/providers/proxy/proxy_child.c:144:21:  [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(reply[i].resp, password, pwlen + 1);
data/sssd-2.3.1/src/providers/proxy/proxy_child.c:154:21:  [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(reply[i].resp, password, pwlen + 1);
data/sssd-2.3.1/src/providers/proxy/proxy_hosts.c:62:9:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/providers/proxy/proxy_hosts.c:374:5:  [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 addrbuf[IN6ADDRSZ];
data/sssd-2.3.1/src/providers/proxy/proxy_ipnetworks.c:55:5:  [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 addrbuf[INET_ADDRSTRLEN];
data/sssd-2.3.1/src/providers/proxy/proxy_netgroup.c:137:5:  [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[BUFLEN];
data/sssd-2.3.1/src/providers/proxy/proxy_services.c:117:5:  [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[BUFLEN];
data/sssd-2.3.1/src/providers/proxy/proxy_services.c:163:5:  [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[BUFLEN];
data/sssd-2.3.1/src/resolv/async_resolv.c:501: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(ret->ipaddr, &attl->ipaddr, sizeof(struct in_addr));
data/sssd-2.3.1/src/resolv/async_resolv.c:514: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(ret->ipaddr, &a6ttl->ip6addr, sizeof(struct in6_addr));
data/sssd-2.3.1/src/resolv/async_resolv.c:1428:9:  [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 hexbyte[3];
data/sssd-2.3.1/src/resolv/async_resolv.c:1474:13:  [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(&((struct sockaddr_in *) sockaddr)->sin_addr,
data/sssd-2.3.1/src/resolv/async_resolv.c:1482:13:  [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(&((struct sockaddr_in6 *) sockaddr)->sin6_addr,
data/sssd-2.3.1/src/resolv/async_resolv_utils.c:48:5:  [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 system_hostname[HOST_NAME_MAX + 1];
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:120:9:  [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(&body[*rp], key, keylen);
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:128:9:  [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(&body[*rp], value, valuelen);
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:846:9:  [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(&body[rp], value, value_len);
data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_host_by_addr.c:38:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_host_by_addr.c:70:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_network_by_addr.c:38:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/responder/common/cache_req/plugins/cache_req_ip_network_by_addr.c:70:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/responder/common/negcache_files.c:27: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.
static char s_nss_buffer[BUFFER_SIZE];
data/sssd-2.3.1/src/responder/common/responder_cmd.c:131:13:  [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(&client_version, req_body, sizeof(uint32_t));
data/sssd-2.3.1/src/responder/common/responder_common.c:106:5:  [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 proc_path[32];
data/sssd-2.3.1/src/responder/common/responder_common.c:107:5:  [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 cmd_line[255] = { 0 };
data/sssd-2.3.1/src/responder/common/responder_common.c:131:19:  [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).
        proc_fd = open(proc_path, O_RDONLY);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache.c:1451:5:  [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 dbgbuf[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache.c:1463:5:  [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 prefix[64];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:58:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:92:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:117:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:191:9:  [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_princ_data, princ->data[i].data, princ->data[i].length);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:262: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(str_realm_data, princ->realm.data, princ->realm.length);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:291:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_mem.c:65: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(out, in, sizeof(struct kcm_ccache));
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_secdb.c:722:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_secrets.c:981:5:  [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 uuid_str[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ops.c:1140:13:  [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 uuid_errbuf[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ops.c:1375:13:  [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 uuid_errbuf[UUID_STR_SIZE];
data/sssd-2.3.1/src/responder/nss/nss_iface.c:77: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(gids, groups, gnum * sizeof(uint32_t));
data/sssd-2.3.1/src/responder/nss/nss_protocol.c:456:5:  [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[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:736:5:  [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 uidstr[11];
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:780: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(&data->strs[pos], name->str, name->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:782: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(&data->strs[pos], pw->str, pw->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:784: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(&data->strs[pos], gecos->str, gecos->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:786: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(&data->strs[pos], homedir->str, homedir->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:788: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(&data->strs[pos], shell->str, shell->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:878:5:  [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 gidstr[11];
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:922: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(&data->strs[pos], name->str, name->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:924: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(&data->strs[pos], pw->str, pw->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:926: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(&data->strs[pos], membuf, memsize);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1051: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((char *)data->gids + pos, gids_buf, num_groups * sizeof(uint32_t));
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1054: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((char *)data->gids + pos, unique_name->str, unique_name->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1058: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((char *)data->gids + pos, name->str, name->len);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1118:11:  [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).
    ofd = open(filename, O_RDWR);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1159:18:  [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).
    mc_ctx->fd = open(mc_ctx->file, O_CREAT | O_EXCL | O_RDWR, 0644);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:637:13:  [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(&user_info_type, resp->data, sizeof(uint32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:649:21:  [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(&expire_date, resp->data + sizeof(uint32_t),
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1095: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(&body[p], &pd->pam_status, sizeof(int32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1098: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(&body[p], &resp_c, sizeof(int32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1104:13:  [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(&body[p], &resp->type, sizeof(int32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1106:13:  [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(&body[p], &resp->len, sizeof(int32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1108:13:  [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(&body[p], resp->data, resp->len);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1143:17:  [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(resp, &resp_type, sizeof(uint32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1145:17:  [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(resp+sizeof(uint32_t), &dummy, sizeof(int64_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1162:21:  [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(resp, &resp_type, sizeof(uint32_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1164:21:  [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(resp+sizeof(uint32_t), &dummy, sizeof(int64_t));
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:723: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.
    const char *extra_args[16] = { NULL };
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1128: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(msg, username, user_len);
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1129: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(msg + user_len, token_name, token_len);
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1130: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(msg + user_len + token_len, module_name, module_len);
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1131: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(msg + user_len + token_len + module_len, key_id, key_id_len);
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1132: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(msg + user_len + token_len + module_len + key_id_len,
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1134: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(msg + user_len + token_len + module_len + key_id_len + prompt_len,
data/sssd-2.3.1/src/responder/secrets/providers.c:234: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(&reply->data[head_size], body->data, body->length);
data/sssd-2.3.1/src/responder/secrets/providers.c:310:9:  [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(&reply->data[reply->length], body->data, body->length);
data/sssd-2.3.1/src/responder/secrets/proxy.c:226:5:  [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 port[6] = { 0 };
data/sssd-2.3.1/src/responder/secrets/secsrv_cmd.c:519:5:  [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[SEC_PACKET_MAX_RECV_SIZE];
data/sssd-2.3.1/src/responder/ssh/ssh_known_hosts.c:94:14:  [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 salt[SSS_SHA1_LENGTH], hash[SSS_SHA1_LENGTH];
data/sssd-2.3.1/src/responder/sudo/sudosrv_cmd.c:66: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(packet_body, response_body, response_len);
data/sssd-2.3.1/src/responder/sudo/sudosrv_query.c:45: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(response_body + response_len, str, str_len);
data/sssd-2.3.1/src/responder/sudo/sudosrv_query.c:112:25:  [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.
        strval = (const char *) values[i].data;
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:112: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(copy, input, sizeof(struct sbus_method) * (count + 1));
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:147: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(copy, input, sizeof(struct sbus_signal) * (count + 1));
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:211: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(copy, input, sizeof(struct sbus_property) * (count + 1));
data/sssd-2.3.1/src/sbus/interface/sbus_interface.c:351: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(copy, input, sizeof(struct sbus_listener));
data/sssd-2.3.1/src/sbus/interface/sbus_iterator_writers.c:136: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.
    const char array_type[2] = {dbus_type, '\0'};
data/sssd-2.3.1/src/sbus/server/sbus_server.c:218:5:  [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 target[PATH_MAX];
data/sssd-2.3.1/src/sbus/server/sbus_server.c:219:5:  [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 pidpath[PATH_MAX];
data/sssd-2.3.1/src/shared/safealign.h:50: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(dest, src, n);
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c:348: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(data, name, name_len);
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c:519: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(groups, inp.result.initgrrep.groups,
data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sid_common.c:73:5:  [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[WBC_SID_STRING_BUFLEN];
data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sid_common.c:91: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(result, buf, len+1);
data/sssd-2.3.1/src/sss_client/libwbclient/wbc_util_common.c:69:9:  [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(blobs, old, sizeof(struct wbcNamedBlob) * (*num_blobs));
data/sssd-2.3.1/src/sss_client/libwbclient/wbc_util_common.c:87: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(blob->blob.data, data, length);
data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_common.c:141: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(result, str, len+1);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:185:9:  [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(name, pwd.pw_name, pw_name_len);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:226:9:  [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(name, grp.gr_name, gr_name_len);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:269: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(req, &id, req_len);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:441:5:  [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 tmp[80];
data/sssd-2.3.1/src/sss_client/nss_mc_common.c:50:9:  [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, len); \
data/sssd-2.3.1/src/sss_client/nss_mc_group.c:65: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(membuf, data->strs, data->strs_len);
data/sssd-2.3.1/src/sss_client/nss_mc_group.c:189:5:  [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 gidstr[11];
data/sssd-2.3.1/src/sss_client/nss_mc_passwd.c:59: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(buffer, data->strs, data->strs_len);
data/sssd-2.3.1/src/sss_client/nss_mc_passwd.c:182:5:  [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 uidstr[11];
data/sssd-2.3.1/src/sss_client/nss_services.c:206: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(data, name, name_len + 1);
data/sssd-2.3.1/src/sss_client/nss_services.c:209:9:  [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 + name_len + 1, protocol, proto_len + 1);
data/sssd-2.3.1/src/sss_client/nss_services.c:311:9:  [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 + p, protocol, proto_len + 1);
data/sssd-2.3.1/src/sss_client/pam_message.c:44: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:48: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:52: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:55: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(&buf[rp], tok, size);
data/sssd-2.3.1/src/sss_client/pam_message.c:68: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:72: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:76: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:91: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:95: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(&buf[rp], &c, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_message.c:98: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(&buf[rp], str, size);
data/sssd-2.3.1/src/sss_client/pam_sss.c:84:5:  [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 debug_msg[DEBUG_MGS_LEN];
data/sssd-2.3.1/src/sss_client/pam_sss.c:380:10:  [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);
data/sssd-2.3.1/src/sss_client/pam_sss.c:503:5:  [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 expire_str[128];
data/sssd-2.3.1/src/sss_client/pam_sss.c:504:5:  [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 user_msg[256];
data/sssd-2.3.1/src/sss_client/pam_sss.c:513: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(&expire_date, buf + sizeof(uint32_t), sizeof(int64_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:551:5:  [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 user_msg[256];
data/sssd-2.3.1/src/sss_client/pam_sss.c:557: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(&grace, buf + sizeof(uint32_t), sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:585:5:  [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 user_msg[256];
data/sssd-2.3.1/src/sss_client/pam_sss.c:592: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(&expire, buf + sizeof(uint32_t), sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:626:5:  [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 delay_str[128];
data/sssd-2.3.1/src/sss_client/pam_sss.c:627:5:  [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 user_msg[256];
data/sssd-2.3.1/src/sss_client/pam_sss.c:636: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(&delayed_until, buf + sizeof(uint32_t), sizeof(int64_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:716: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(&msg_len, buf + sizeof(uint32_t), sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:771: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(&msg_len, buf + sizeof(uint32_t), sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:824: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(&type, buf, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:995: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(&pam_status, buf+p, sizeof(int32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:999: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(&c, buf+p, sizeof(int32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:1008:9:  [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(&type, buf+p, sizeof(int32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:1011:9:  [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(&len, buf+p, sizeof(int32_t));
data/sssd-2.3.1/src/sss_client/pam_sss.c:2269: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(pi->pam_authtok, authtok_data, *authtok_size);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2319: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(authtok_data, pi->pam_authtok, pi->pam_authtok_size);
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c:80:5:  [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[BUFFER_SIZE];
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c:196:5:  [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 strport[6];
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c:199:5:  [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 canonhost[NI_MAXHOST];
data/sssd-2.3.1/src/sss_client/sssd_pac.c:96:9:  [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, authdata[0]->contents, authdata[0]->length);
data/sssd-2.3.1/src/sss_client/sssd_pac.c:273:9:  [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.data, bp, ibuf);
data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.c:137: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(data + offset, username, username_len);
data/sssd-2.3.1/src/sss_client/sudo/sss_sudo_response.c:212: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(_number, message + start_pos, sizeof(uint32_t));
data/sssd-2.3.1/src/sss_client/sudo_testcli/sudo_testcli.c:56:15:  [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).
        uid = atoi(argv[2]);
data/sssd-2.3.1/src/tests/auth-tests.c:58: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/auth-tests.c:160: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/check_and_open-tests.c:52:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    ret = mkstemp(filename);
data/sssd-2.3.1/src/tests/cmocka/common_mock_sysdb_objects.c:62:18:  [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.
    static const char **tables[SYSDB_ATTR_TYPE_STRING] = {
data/sssd-2.3.1/src/tests/cmocka/confdb/test_confdb.c:56: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/sss_nss_idmap-tests.c:82:9:  [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(*repbuf, d->repbuf, *replen);
data/sssd-2.3.1/src/tests/cmocka/test_ad_subdomains.c:128: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.
    const char *domains[domain_count];
data/sssd-2.3.1/src/tests/cmocka/test_ad_subdomains.c:166: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.
    const char *domains[domain_count];
data/sssd-2.3.1/src/tests/cmocka/test_ad_subdomains.c:205: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.
    const char *domains[domain_count];
data/sssd-2.3.1/src/tests/cmocka/test_ad_subdomains.c:242: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.
    const char *domains[domain_count];
data/sssd-2.3.1/src/tests/cmocka/test_deskprofile_utils.c:46: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.
    const char *results[24];
data/sssd-2.3.1/src/tests/cmocka/test_domain_resolution_order.c:48: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.
    const char *expected_order[DOM_COUNT] = { DOMAIN_2, DOMAIN_1, DOMAIN_3 };
data/sssd-2.3.1/src/tests/cmocka/test_domain_resolution_order.c:75: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.
    const char *expected_order[DOM_COUNT] = { DOMAIN_3, DOMAIN_2, DOMAIN_1 };
data/sssd-2.3.1/src/tests/cmocka/test_domain_resolution_order.c:128: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.
    const char *domains[DOM_COUNT] = { DOMAIN_1, DOMAIN_2, DOMAIN_3 };
data/sssd-2.3.1/src/tests/cmocka/test_domain_resolution_order.c:129: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.
    const char *providers[DOM_COUNT] = { LDAP, LDAP, LDAP };
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:235:5:  [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 straddr[128];
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:265:5:  [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 straddr[128];
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:701:5:  [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 straddr[128];
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:758:5:  [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 straddr[128];
data/sssd-2.3.1/src/tests/cmocka/test_fqnames.c:113:5:  [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 fqdn_s[fqdn_size];
data/sssd-2.3.1/src/tests/cmocka/test_fqnames.c:145:5:  [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 fqdn_s[fqdn_size];
data/sssd-2.3.1/src/tests/cmocka/test_fqnames.c:177:5:  [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 fqdn_s[fqdn_size];
data/sssd-2.3.1/src/tests/cmocka/test_fqnames.c:209:5:  [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 fqdn_s[fqdn_size];
data/sssd-2.3.1/src/tests/cmocka/test_inotify.c:102:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(ctx->filename);
data/sssd-2.3.1/src/tests/cmocka/test_inotify.c:190:9:  [2] (misc) fopen:
  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).
    f = fopen(test_ctx->filename, "w");
data/sssd-2.3.1/src/tests/cmocka/test_inotify.c:295:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(src_tmp_file);
data/sssd-2.3.1/src/tests/cmocka/test_inotify.c:373:9:  [2] (misc) fopen:
  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).
    f = fopen(test_ctx->filename, "w");
data/sssd-2.3.1/src/tests/cmocka/test_io.c:56:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    ret = mkstemp(path);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:83:12:  [2] (misc) fopen:
  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).
    return fopen(path, mode);
data/sssd-2.3.1/src/tests/cmocka/test_ipa_subdomains_server.c:89: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).
    return open(path, flags, mode);
data/sssd-2.3.1/src/tests/cmocka/test_kcm_json_marshalling.c:277:5:  [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 str_uuid[UUID_STR_SIZE];
data/sssd-2.3.1/src/tests/cmocka/test_ldap_id_cleanup.c:57: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_negcache.c:607: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_negcache.c:634: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.
    const char *const testdom[4] = { TEST_SUBDOM_NAME, "TEST.SUB", "test", "S-3" };
data/sssd-2.3.1/src/tests/cmocka/test_negcache_2.c:109:19:  [2] (misc) fopen:
  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).
    passwd_file = fopen("/etc/passwd", "r");
data/sssd-2.3.1/src/tests/cmocka/test_negcache_2.c:134:18:  [2] (misc) fopen:
  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).
    group_file = fopen("/etc/group", "r");
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:275: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(data, input, len);
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:1620: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.
    const char *exp_members[2];
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:1721: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.
    const char *exp_members[2];
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:1810: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.
    const char *exp_members[3];
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:1903: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.
    const char *exp_members[3];
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2021: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.
    const char *exp_members[3];
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:3472: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.
    const char *const testdom[4] = { TEST_SUBDOM_NAME, "TEST.SUB", "test", "S-3" };
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5154:5:  [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 addr[16];
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:222:10:  [2] (misc) fopen:
  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).
    fp = fopen(NSS_DB_PATH"/pkcs11.txt", "w");
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:243:10:  [2] (misc) fopen:
  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).
    fp = fopen(NSS_DB_PATH_2CERTS"/pkcs11.txt", "w");
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:264:10:  [2] (misc) fopen:
  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).
    fp = fopen(NSS_DB_PATH_OCSP"/pkcs11.txt", "w");
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:285:10:  [2] (misc) fopen:
  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).
    fp = fopen(NSS_DB_PATH_ECC"/pkcs11.txt", "w");
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:426: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:3092: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(offline_auth_data, &info_type, sizeof(uint32_t));
data/sssd-2.3.1/src/tests/cmocka/test_resolv_fake.c:70: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(hb, &h, sizeof(h));
data/sssd-2.3.1/src/tests/cmocka/test_resolv_fake.c:133:14:  [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 hostname_compressed[MAXDNAME];
data/sssd-2.3.1/src/tests/cmocka/test_resolv_fake.c:151: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(a, hostname_compressed, compressed_len);
data/sssd-2.3.1/src/tests/cmocka/test_responder_cache_req.c:665: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.
    const char *const testdom[4] = { subdomain_name, "TEST_A.SUB", "test_a", "S-3" };
data/sssd-2.3.1/src/tests/cmocka/test_responder_cache_req.c:2328: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.
    const char *ldb_results[num_users];
data/sssd-2.3.1/src/tests/cmocka/test_simple_access.c:102: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.
    const char *val[2] = { NULL, NULL };
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:101: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:335: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(&buf[8], username, len + 1);
data/sssd-2.3.1/src/tests/cmocka/test_sss_ptr_hash.c:25:5:  [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 key[2] = {'z', 0};
data/sssd-2.3.1/src/tests/cmocka/test_sss_sifp.c:88:5:  [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 array_type[3];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:163: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(&entry->addr, addr, addrlen);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:293:10:  [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(TEST_PUBCONF_PATH"/kdcinfo."TEST_REALM, O_CREAT, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:319:5:  [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 host[NI_MAXHOST];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:320:5:  [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 service[NI_MAXSERV];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:331:10:  [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(TEST_PUBCONF_PATH"/kdcinfo."TEST_REALM, O_CREAT|O_RDWR, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:397:5:  [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 host[NI_MAXHOST];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:398:5:  [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 service[NI_MAXSERV];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:465:10:  [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(TEST_PUBCONF_PATH"/kdcinfo."TEST_REALM, O_CREAT|O_RDWR, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:526:5:  [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 host[NI_MAXHOST];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:527:5:  [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 service[NI_MAXSERV];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:538:10:  [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(TEST_PUBCONF_PATH"/kdcinfo."TEST_REALM, O_CREAT|O_RDWR, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:632:5:  [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 host[NI_MAXHOST];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:633:5:  [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 service[NI_MAXSERV];
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:644:10:  [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(TEST_PUBCONF_PATH"/kdcinfo."TEST_REALM, O_CREAT|O_RDWR, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:653:10:  [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(TEST_PUBCONF_PATH"/kpasswdinfo."TEST_REALM, O_CREAT|O_RDWR, 0777);
data/sssd-2.3.1/src/tests/cmocka/test_string_utils.c:140:5:  [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 str_buf[GUID_STR_BUF_SIZE];
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:98: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.
    const char *const dom1[4] = { "dom1.sub", "DOM1.SUB", "dom1", "S-1" };
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:99: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.
    const char *const dom2[4] = { "dom2.sub", "DOM2.SUB", "dom2", "S-2" };
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:239: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.
    const char *const dom1[5] = { "dom1.sub", "DOM1.SUB",
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:241: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.
    const char *const child_dom1[5] = { "child1.dom1.sub", "CHILD1.DOM1.SUB",
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:243: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.
    const char *const dom2[5] = { "dom2.sub", "DOM2.SUB",
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:245: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.
    const char *const child_dom2[5] = { "child2.dom2.sub", "CHILD2.DOM1.SUB",
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:319: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.
    const char *const child_dom[5] = { "child.test_sysdb_subdomains",/* name  */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:325: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.
    const char *const sub_dom[5] = { "another.subdomain",         /* name   */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:390: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.
    const char *const forest_root[5] = { test_ctx->tctx->dom->name, /* name  */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:396: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.
    const char *const child_dom[5] = { "child.test_sysdb_subdomains",/* name  */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:402: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.
    const char *const sub_dom[5] = { "another.subdomain",         /* name   */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:476: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.
    const char *const child_dom[5] = { "child.test_sysdb_subdomains",/* name  */
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_subdomains.c:482: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.
    const char *const dom2_forest_root[5] = \
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_sudo.c:818: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.
    const char *rule_names[num_rules];
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_sudo.c:819: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.
    const char *db_results[num_rules];
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_sudo.c:871:5:  [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 buff[20];
data/sssd-2.3.1/src/tests/cmocka/test_sysdb_views.c:64: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_tools_colondb.c:61:10:  [2] (misc) fopen:
  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).
    fp = fopen(file_name, "w");
data/sssd-2.3.1/src/tests/cmocka/test_utils.c:901: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/cmocka/test_utils.c:1434:5:  [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[PATH_MAX];
data/sssd-2.3.1/src/tests/common_dom.c:80: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.
    const char *val[2] = {NULL, NULL};
data/sssd-2.3.1/src/tests/crypto-tests.c:105:14:  [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 out[SSS_SHA1_LENGTH];
data/sssd-2.3.1/src/tests/crypto-tests.c:116:45:  [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.
        ret = sss_hmac_sha1((const unsigned char *)keys[i], strlen(keys[i]),
data/sssd-2.3.1/src/tests/cwrap/test_server.c:49:5:  [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[16];
data/sssd-2.3.1/src/tests/cwrap/test_server.c:69:10:  [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(pidfile, O_RDONLY);
data/sssd-2.3.1/src/tests/debug-tests.c:126:5:  [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 filename[24] = {'\0'};
data/sssd-2.3.1/src/tests/debug-tests.c:142:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(filename);
data/sssd-2.3.1/src/tests/debug-tests.c:271:5:  [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 filename[24] = {'\0'};
data/sssd-2.3.1/src/tests/debug-tests.c:282:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(filename);
data/sssd-2.3.1/src/tests/dlopen-tests.c:40: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.
    const char *libs[6];
data/sssd-2.3.1/src/tests/fail_over-tests.c:114:9:  [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[16];
data/sssd-2.3.1/src/tests/fail_over-tests.c:115:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "service_%d", i);
data/sssd-2.3.1/src/tests/fail_over-tests.c:126:9:  [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[16];
data/sssd-2.3.1/src/tests/fail_over-tests.c:127:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "service_%d", i);
data/sssd-2.3.1/src/tests/fail_over-tests.c:179:13:  [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/sssd-2.3.1/src/tests/files-tests.c:91:10:  [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(name, O_WRONLY | O_CREAT | O_TRUNC, 0700);
data/sssd-2.3.1/src/tests/files-tests.c:109:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:158:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:210:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:261:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:303:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:346:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/files-tests.c:384:5:  [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 origpath[PATH_MAX+1];
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:74:12:  [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).
    return atoi(val);
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:83:16:  [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).
        *uid = atoi(val);
data/sssd-2.3.1/src/tests/intg/getsockopt_wrapper.c:88:16:  [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).
        *gid = atoi(val);
data/sssd-2.3.1/src/tests/krb5_child-test.c:278:5:  [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 timestring[BUFSIZ];
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:302:15:  [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).
    kr->uid = atoi(UID);
data/sssd-2.3.1/src/tests/krb5_utils-tests.c:304:19:  [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).
    pd->cli_pid = atoi(PID);
data/sssd-2.3.1/src/tests/leak_check.c:31:1:  [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 leak_err_msg[256];
data/sssd-2.3.1/src/tests/refcount-tests.c:47:5:  [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 a[FILLER_SIZE];
data/sssd-2.3.1/src/tests/refcount-tests.c:48:5:  [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 b[FILLER_SIZE];
data/sssd-2.3.1/src/tests/refcount-tests.c:52:5:  [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 a[FILLER_SIZE];
data/sssd-2.3.1/src/tests/refcount-tests.c:54:5:  [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 b[FILLER_SIZE];
data/sssd-2.3.1/src/tests/refcount-tests.c:58:5:  [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 a[FILLER_SIZE];
data/sssd-2.3.1/src/tests/refcount-tests.c:59:5:  [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 b[FILLER_SIZE];
data/sssd-2.3.1/src/tests/resolv-tests.c:285:9:  [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 addr_buf[256];
data/sssd-2.3.1/src/tests/resolv-tests.c:355:9:  [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 addr_buf[256];
data/sssd-2.3.1/src/tests/resolv-tests.c:484:13:  [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 addr_buf[256];
data/sssd-2.3.1/src/tests/safe-format-tests.c:35: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.
    const char *args[8];
data/sssd-2.3.1/src/tests/safe-format-tests.c:179:5:  [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[8];
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:144:1:  [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 data[DATA_MAX];
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:430: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.
    const char *sids[max_rid + 1];
data/sssd-2.3.1/src/tests/stress-tests.c:164:5:  [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 one_name[NAME_SIZE];
data/sssd-2.3.1/src/tests/sysdb-tests.c:76: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/sysdb-tests.c:1457:5:  [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 *rmattrs[2];
data/sssd-2.3.1/src/tests/sysdb-tests.c:2204: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/sysdb-tests.c:2249: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/sysdb-tests.c:2403:36:  [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 *) msgs[i]->elements[0].values[0].data,
data/sssd-2.3.1/src/tests/sysdb-tests.c:6313:7:  [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 *const testdom[4] = { "test.sub", "TEST.SUB", "test", "S-3" };
data/sssd-2.3.1/src/tests/sysdb-tests.c:6908: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/sysdb-tests.c:7346: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/sysdb_ssh-tests.c:53: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.
    const char *val[2];
data/sssd-2.3.1/src/tests/test_ssh_client.c:43:5:  [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 *av[3];
data/sssd-2.3.1/src/tests/test_ssh_client.c:44:5:  [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[5]; /* Ridiculously small buffer by design */
data/sssd-2.3.1/src/tests/util-tests.c:447:10:  [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/sssd-2.3.1/src/tests/util-tests.c:562: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.
    const char *tests[6] = { "1052800007", "1052800008", "1052800000",
data/sssd-2.3.1/src/tests/util-tests.c:580:5:  [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 test[16];
data/sssd-2.3.1/src/tests/util-tests.c:616:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    ret = mkstemp(filename);
data/sssd-2.3.1/src/tests/util-tests.c:640:5:  [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[64];
data/sssd-2.3.1/src/tests/util-tests.c:645:10:  [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/zero", O_RDONLY);
data/sssd-2.3.1/src/tests/util-tests.c:664:5:  [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 rbuf[64];
data/sssd-2.3.1/src/tests/util-tests.c:696:5:  [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 rbuf[8];
data/sssd-2.3.1/src/tests/util-tests.c:735:5:  [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 rbuf[9];
data/sssd-2.3.1/src/tests/util-tests.c:775:5:  [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[64];
data/sssd-2.3.1/src/tests/util-tests.c:780:10:  [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/sssd-2.3.1/src/tools/common/sss_colondb.c:277:41:  [2] (misc) fopen:
  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).
        fp = filename == NULL ? stdin : fopen(filename, "r");
data/sssd-2.3.1/src/tools/common/sss_colondb.c:280:42:  [2] (misc) fopen:
  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).
        fp = filename == NULL ? stdout : fopen(filename, "w");
data/sssd-2.3.1/src/tools/common/sss_process.c:48:5:  [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 pid_str[MAX_PID_LENGTH] = {'\0'};
data/sssd-2.3.1/src/tools/common/sss_process.c:53:16:  [2] (misc) fopen:
  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).
    pid_file = fopen(SSSD_PIDFILE, "r");
data/sssd-2.3.1/src/tools/sss_groupshow.c:609:5:  [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 padding[512];
data/sssd-2.3.1/src/tools/sss_groupshow.c:610:5:  [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 fmt[8];
data/sssd-2.3.1/src/tools/sss_seed.c:113:5:  [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[BUFSIZE+1];
data/sssd-2.3.1/src/tools/sss_seed.c:150:5:  [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[BUFSIZE+1];
data/sssd-2.3.1/src/tools/sss_seed.c:280:10:  [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);
data/sssd-2.3.1/src/tools/sssctl/sssctl.c:49:5:  [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 answer[255] = {0};
data/sssd-2.3.1/src/tools/sssctl/sssctl_cache.c:67:5:  [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 str[255];
data/sssd-2.3.1/src/tools/sssctl/sssctl_logs.c:66: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.
    const char *values[2];
data/sssd-2.3.1/src/tools/tools_mc_util.c:79:13:  [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).
    mc_fd = open(mc_filename, O_RDWR);
data/sssd-2.3.1/src/tools/tools_mc_util.c:208:25:  [2] (misc) fopen:
  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).
        clear_mc_flag = fopen(SSS_NSS_MCACHE_DIR"/"CLEAR_MC_FLAG, "w");
data/sssd-2.3.1/src/tools/tools_util.c:446:10:  [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(spool_file, O_CREAT | O_WRONLY | O_EXCL, 0);
data/sssd-2.3.1/src/util/authtok-utils.c:68: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(buf + c, fa1, fa1_len + 1);
data/sssd-2.3.1/src/util/authtok-utils.c:71: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(buf + c, fa2, fa2_len + 1);
data/sssd-2.3.1/src/util/authtok-utils.c:149: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(buf + c, pin, pin_len);
data/sssd-2.3.1/src/util/authtok-utils.c:153: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(buf + c, token_name, token_name_len);
data/sssd-2.3.1/src/util/authtok-utils.c:157: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(buf + c, module_name, module_name_len);
data/sssd-2.3.1/src/util/authtok-utils.c:161: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(buf + c, key_id, key_id_len);
data/sssd-2.3.1/src/util/authtok.c:163: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(tok->data, str, len);
data/sssd-2.3.1/src/util/backup_file.c:32:5:  [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[BUFFER_SIZE];
data/sssd-2.3.1/src/util/backup_file.c:40: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).
    src_fd = open(src_file, O_RDONLY);
data/sssd-2.3.1/src/util/backup_file.c:67:18:  [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).
        dst_fd = open(dst_file, O_CREAT|O_EXCL|O_WRONLY, 0600);
data/sssd-2.3.1/src/util/cert/libcrypto/cert.c:301:14:  [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 modulus[OPENSSL_RSA_MAX_MODULUS_BITS/8];
data/sssd-2.3.1/src/util/cert/libcrypto/cert.c:303:14:  [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 exponent[OPENSSL_RSA_MAX_PUBEXP_BITS/8];
data/sssd-2.3.1/src/util/check_and_open.c:136:11:  [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);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_base64.c:74:14:  [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 inbuf[512];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_base64.c:87: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(in_dup, in, inlen+1);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_hmac_sha1.c:30:14:  [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 md[EVP_MAX_MD_SIZE];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_hmac_sha1.c:46: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(out, md, SSS_SHA1_LENGTH);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_nite.c:51:14:  [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 md[EVP_MAX_MD_SIZE];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_nite.c:131: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(&out[outlen], md, slen < hmaclen ? slen : hmaclen);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_obfuscate.c:223:14:  [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 sentinel_check[OBF_BUFFER_SENTINEL_SIZE];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_obfuscate.c:256: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(sentinel_check,
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:49:7:  [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 b64t[64] =
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:75:14:  [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 temp_result[64];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:76:14:  [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 alt_result[64];
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:200: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(cp, temp_result, cnt);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:220: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(cp, temp_result, cnt);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:265:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    cp = memcpy(buffer, sha512_salt_prefix, SALT_PREF_SIZE);
data/sssd-2.3.1/src/util/crypto/nss/nss_hmac_sha1.c:41:14:  [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 ikey[HMAC_SHA1_BLOCKSIZE], okey[HMAC_SHA1_BLOCKSIZE];
data/sssd-2.3.1/src/util/crypto/nss/nss_hmac_sha1.c:44:14:  [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 hash[SSS_SHA1_LENGTH];
data/sssd-2.3.1/src/util/crypto/nss/nss_hmac_sha1.c:65:9:  [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(ikey, key, key_len);
data/sssd-2.3.1/src/util/crypto/nss/nss_nite.c:267:9:  [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(ivbuf, ciphertext, ivlen);
data/sssd-2.3.1/src/util/crypto/nss/nss_obfuscate.c:217:14:  [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 sentinel_check[OBF_BUFFER_SENTINEL_SIZE];
data/sssd-2.3.1/src/util/crypto/nss/nss_obfuscate.c:251: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(sentinel_check,
data/sssd-2.3.1/src/util/crypto/nss/nss_prng.c:40:10:  [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/urandom", O_RDONLY);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:46:7:  [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 b64t[64] =
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:75:14:  [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 temp_result[64] __attribute__((__aligned__(ALIGN64)));
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:76:14:  [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 alt_result[64] __attribute__((__aligned__(ALIGN64)));
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:121:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:126:30:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        salt = copied_salt = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, salt, salt_len);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:210: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(cp, temp_result, cnt);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:228: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(cp, temp_result, cnt);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:270:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    cp = memcpy(buffer, sha512_salt_prefix, SALT_PREF_SIZE);
data/sssd-2.3.1/src/util/debug.c:426:9:  [2] (misc) fopen:
  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).
    f = fopen(logpath, "a");
data/sssd-2.3.1/src/util/domain_info_utils.c:477:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(tmp_file);
data/sssd-2.3.1/src/util/domain_info_utils.c:656:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(tmp_file);
data/sssd-2.3.1/src/util/files.c:382:5:  [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[1024];
data/sssd-2.3.1/src/util/files.c:515:11:  [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).
    ofd = open(dest, dest_flags, mode);
data/sssd-2.3.1/src/util/find_uid.c:65:5:  [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[PATHLEN];
data/sssd-2.3.1/src/util/find_uid.c:68:5:  [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[BUFSIZE];
data/sssd-2.3.1/src/util/find_uid.c:84:10:  [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(path, O_RDONLY);
data/sssd-2.3.1/src/util/inotify.c:125:5:  [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 msgbuf[1024];
data/sssd-2.3.1/src/util/inotify.c:283:5:  [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 ev_buf[sizeof(struct inotify_event) + PATH_MAX];
data/sssd-2.3.1/src/util/inotify.c:390:9:  [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 fcopy[PATH_MAX + 1];
data/sssd-2.3.1/src/util/inotify.c:427:5:  [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 resolved[PATH_MAX + 1];
data/sssd-2.3.1/src/util/inotify.c:428:5:  [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 fcopy[PATH_MAX + 1];
data/sssd-2.3.1/src/util/io.c:49:10:  [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(pathname, oflags);
data/sssd-2.3.1/src/util/mmap_cache.h:114:5:  [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 data[0];
data/sssd-2.3.1/src/util/mmap_cache.h:122:5:  [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 strs[0];           /* concatenation of all passwd strings, each
data/sssd-2.3.1/src/util/mmap_cache.h:132:5:  [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 strs[0];           /* concatenation of all group strings, each
data/sssd-2.3.1/src/util/murmurhash3.c:30: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(&r, &p[i * size], size);
data/sssd-2.3.1/src/util/nscd.c:147:10:  [2] (misc) fopen:
  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).
    fp = fopen(conf_path, "r");
data/sssd-2.3.1/src/util/safe-format-string.c:262:9:  [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 (cx->data + cx->length, piece, length);
data/sssd-2.3.1/src/util/secrets/secrets.c:552:10:  [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_CREAT|O_EXCL|O_WRONLY, 0600);
data/sssd-2.3.1/src/util/server.c:141:5:  [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 pid_str[32];
data/sssd-2.3.1/src/util/server.c:148:10:  [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(file, O_RDONLY, 0644);
data/sssd-2.3.1/src/util/server.c:165:22:  [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).
        pid = (pid_t)atoi(pid_str);
data/sssd-2.3.1/src/util/server.c:199:5:  [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 pid_str[32];
data/sssd-2.3.1/src/util/server.c:210:10:  [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(file, O_CREAT | O_WRONLY | O_EXCL, 0644);
data/sssd-2.3.1/src/util/sss_ini.c:427: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(ldif, CONFDB_INTERNAL_LDIF, ldif_len);
data/sssd-2.3.1/src/util/sss_ini.c:509:13:  [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(dn+dn_size, ldif_attr, attr_len+1);
data/sssd-2.3.1/src/util/sss_ini.c:537:9:  [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(ldif+ldif_len, dn, dn_size);
data/sssd-2.3.1/src/util/sss_ini.c:573:9:  [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(ldif+ldif_len, dn, dn_size);
data/sssd-2.3.1/src/util/sss_iobuf.c:63:9:  [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(iobuf->data, data, size);
data/sssd-2.3.1/src/util/sss_krb5.c:80: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.
    static char buff[1024];
data/sssd-2.3.1/src/util/sss_krb5.c:615:9:  [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->data, src->length);
data/sssd-2.3.1/src/util/sss_krb5.c:1110: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.
    const char  *profile_path[4] = {"realms", NULL, "kdc", NULL};
data/sssd-2.3.1/src/util/sss_ldap.c:458:5:  [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 hex[9]; /* 4 bytes in hex + terminating zero */
data/sssd-2.3.1/src/util/sss_regexp.c:64:14:  [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 errormsg[SSS_REGEXP_ERR_MSG_SIZE];
data/sssd-2.3.1/src/util/sss_sockets.c:167: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(&state->addr, addr, addr_len);
data/sssd-2.3.1/src/util/sss_ssh.c:139: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(algo, pubkey->data+c, algo_len);
data/sssd-2.3.1/src/util/sss_ssh.c:204:9:  [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, pubkey->data, len);
data/sssd-2.3.1/src/util/sss_utf8.c:83: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(lower, glower, nlen);
data/sssd-2.3.1/src/util/util.c:613:5:  [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 straddr[INET_ADDRSTRLEN];
data/sssd-2.3.1/src/util/util.c:644:5:  [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 straddr[INET6_ADDRSTRLEN];
data/sssd-2.3.1/src/util/util.c:720:13:  [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(new, l1, sizeof(char *) * l1_count);
data/sssd-2.3.1/src/util/util.c:724:13:  [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(&new[l1_count], l2, sizeof(char *) * l2_count);
data/sssd-2.3.1/src/util/util.c:895:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd = mkstemp(path_tmpl);
data/sssd-2.3.1/src/util/util.c:1022:5:  [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[INET6_ADDRSTRLEN + 1];
data/sssd-2.3.1/src/util/util_preauth.c:57:10:  [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(PAM_PREAUTH_INDICATOR, O_CREAT | O_EXCL | O_WRONLY | O_NOFOLLOW,
data/sssd-2.3.1/src/util/util_watchdog.c:110:5:  [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[DEFAULT_BUFFER_SIZE];
data/sssd-2.3.1/src/confdb/confdb.c:675:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/confdb/confdb.c:678:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/confdb/confdb.c:2310: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).
        if (tmp_str[0] != '(' || tmp_str[strlen(tmp_str) - 1] != ')') {
data/sssd-2.3.1/src/db/sysdb.c:46:18:  [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).
    val.length = strlen(input);
data/sssd-2.3.1/src/db/sysdb.c:548: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).
    v.length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:559: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).
    v.length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:652: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).
    el->values[el->num_values].length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:669: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).
    v.length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:689: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).
    v.length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:709: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).
    v.length = strlen(str);
data/sssd-2.3.1/src/db/sysdb.c:816: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).
        el->values[j].length = strlen(member);
data/sssd-2.3.1/src/db/sysdb.c:838: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).
        v.length = strlen(name);
data/sssd-2.3.1/src/db/sysdb.c:1769: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).
    len_a = strlen(a);
data/sssd-2.3.1/src/db/sysdb.c:1770: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).
    len_b = strlen(b);
data/sssd-2.3.1/src/db/sysdb_certmap.c:188: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).
            el->values[c].length = strlen(certmap->domains[c]);
data/sssd-2.3.1/src/db/sysdb_ops.c:3747:33:  [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).
    asq_control->src_attr_len = strlen(asq_control->source_attribute);
data/sssd-2.3.1/src/db/sysdb_ops.c:4638: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).
    pw_len = strlen(password);
data/sssd-2.3.1/src/db/sysdb_search.c:1002:19:  [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).
    val->length = strlen(SYSDB_GROUP_CLASS);
data/sssd-2.3.1/src/db/sysdb_search.c:1666: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).
    control->src_attr_len = strlen(control->source_attribute);
data/sssd-2.3.1/src/db/sysdb_search.c:1831: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).
    control->src_attr_len = strlen(control->source_attribute);
data/sssd-2.3.1/src/db/sysdb_upgrade.c:1748: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).
            val.length = strlen(fqval);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.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).
                && (addr_len = strlen(addr_str))
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:328: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).
    len = strlen(realm) + strlen(name_tmpl);
data/sssd-2.3.1/src/krb5_plugin/sssd_krb5_locator_plugin.c:328:27:  [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(realm) + strlen(name_tmpl);
data/sssd-2.3.1/src/ldb_modules/memberof.c:295:38:  [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).
    val[op->el->num_values].length = strlen(name);
data/sssd-2.3.1/src/ldb_modules/memberof.c:943: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).
        el->values[j].length = strlen(val);
data/sssd-2.3.1/src/ldb_modules/memberof.c:1036: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).
        el->values[i].length = strlen(val);
data/sssd-2.3.1/src/ldb_modules/memberof.c:1612: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).
    el->values[0].length = strlen(val);
data/sssd-2.3.1/src/ldb_modules/memberof.c:2188: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).
            el->values[j].length = strlen(val);
data/sssd-2.3.1/src/ldb_modules/memberof.c:3298: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).
        el->values[j].length = strlen((const char *) val->data);
data/sssd-2.3.1/src/ldb_modules/memberof.c:3821: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->vals[vi].length = strlen((const char *) values[i].data);
data/sssd-2.3.1/src/ldb_modules/memberof.c:4387: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).
    vals[n].length = strlen(user);
data/sssd-2.3.1/src/ldb_modules/memberof.c:4460: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).
            el->values[i].length = strlen(keys[i].str);
data/sssd-2.3.1/src/lib/certmap/sss_certmap_attr_names.c:102: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).
        if (strlen(oid_attr_name_map[c].nss) != len
data/sssd-2.3.1/src/lib/certmap/sss_certmap_krb5_match.c:175: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).
    *cur += strlen(comp->val);
data/sssd-2.3.1/src/lib/certmap/sss_certmap_ldap_mapping.c:271: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).
    tmp_string_size = strlen(rule_start) + 1;
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:80: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).
    len = strlen(str) + 1;
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:449: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).
            hash_val = murmurhash3(range_id, strlen(range_id), 0xdeadbeef);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:911:19:  [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).
    dom_sid_len = strlen(dom_sid);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:914: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).
    if (strlen(sid) < dom_sid_len || sid[dom_sid_len] != '-') {
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1051: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).
    if (parse_rid(sid, strlen(matched_dom->sid), &rid) == false) {
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1158: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).
            dom_len = strlen(idmap_domain_info->sid);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1159: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 (strlen(sid) > dom_len && sid[dom_len] == '-'
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1564:19:  [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(idmap_domain_info->sid);
data/sssd-2.3.1/src/lib/idmap/sss_idmap.c:1565:27:  [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).
            dom_sid_len = strlen(dom_sid);
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:56:15:  [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).
    str_len = strlen(str);
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:79:18:  [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(str1) + strlen(str2) + 1;
data/sssd-2.3.1/src/lib/sifp/sss_sifp_utils.c:79:33:  [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(str1) + strlen(str2) + 1;
data/sssd-2.3.1/src/monitor/monitor.c:1448:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(10000);
data/sssd-2.3.1/src/monitor/monitor_netlink.c:164:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(iwr.ifr_ifrn.ifrn_name, ifname, IFNAMSIZ-1);
data/sssd-2.3.1/src/monitor/monitor_netlink.c:300:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(buf, "unknown", bufsize-1);
data/sssd-2.3.1/src/monitor/monitor_netlink.c:584:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(buf, "unknown", INET6_ADDRSTRLEN);
data/sssd-2.3.1/src/p11_child/p11_child_common.c:131: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).
    if (strlen(str) != len) {
data/sssd-2.3.1/src/p11_child/p11_child_common.c:215:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/p11_child/p11_child_openssl.c:1823: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).
                                 strlen(pin));
data/sssd-2.3.1/src/providers/ad/ad_common.c:468:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, res->ai_canonname, buflen-1);
data/sssd-2.3.1/src/providers/ad/ad_common.c:547:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(hostname, fqdn, HOST_NAME_MAX);
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:494: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).
                           strlen("interactive")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:497: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).
                           strlen("remote_interactive")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:500: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).
                           strlen("network")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:503: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).
                           strlen("batch")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:506: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).
                           strlen("service")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:509: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).
                           strlen("permit")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:512: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).
                           strlen("deny")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:2892:44:  [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 ((strncasecmp(parent_dn, "OU=", strlen("OU=")) == 0) ||
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:2893:44:  [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).
            (strncasecmp(parent_dn, "DC=", strlen("DC=")) == 0)) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:2909: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).
        if (strncasecmp(parent_dn, "DC=", strlen("DC=")) == 0) {
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:4490: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).
    smb_server_length = strlen(smb_server);
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:4491: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).
    smb_share_length = strlen(smb_share);
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:4492: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).
    smb_path_length = strlen(smb_path);
data/sssd-2.3.1/src/providers/ad/ad_gpo.c:4493: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).
    smb_cse_suffix_length = strlen(smb_cse_suffix);
data/sssd-2.3.1/src/providers/ad/ad_gpo_child.c:234:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_X_UMASK);
data/sssd-2.3.1/src/providers/ad/ad_gpo_child.c:266:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/providers/ad/ad_pac.c:182: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).
    dom_sid_str_len = strlen(dom_sid_str);
data/sssd-2.3.1/src/providers/ad/ad_pac.c:299: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).
    user_dom_sid_str_len = strlen(user_dom_sid_str);
data/sssd-2.3.1/src/providers/be_dyndns.c:868: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).
                             strlen(child_stdin)+1,
data/sssd-2.3.1/src/providers/data_provider/dp_iface_failover.c:74: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 (strncasecmp(svc->name, "sd_gc_", strlen("sd_gc_")) == 0) {
data/sssd-2.3.1/src/providers/data_provider/dp_iface_failover.c:79: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).
        if (strncasecmp(svc->name, "sd_", strlen("sd_")) == 0) {
data/sssd-2.3.1/src/providers/data_provider/dp_iface_failover.c:141: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).
        if (strncasecmp(svc->name, "sd_", strlen("sd_")) == 0) {
data/sssd-2.3.1/src/providers/data_provider/dp_reply_std.c:57: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).
                        strlen(msg_in));
data/sssd-2.3.1/src/providers/data_provider_be.c:521: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).
        if (strlen(str) > 1) {
data/sssd-2.3.1/src/providers/data_provider_opts.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).
                opts[i].val.blob.length = strlen(tmp);
data/sssd-2.3.1/src/providers/files/files_certmap.c:131: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).
                       || filter[strlen(filter) - 1] != ')') {
data/sssd-2.3.1/src/providers/files/files_certmap.c:139: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).
    filter[strlen(filter) - 1] = '\0';
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:247:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(0026);
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:250:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:269:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(0077);
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:271:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/providers/ipa/ipa_deskprofile_rules_util.c:298: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).
    name_len = strlen(name);
data/sssd-2.3.1/src/providers/ipa/ipa_selinux.c:366: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).
    len = strlen(map_order);
data/sssd-2.3.1/src/providers/ipa/ipa_selinux.c:638:18:  [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).
    seuser_len = strlen(state->sci->seuser);
data/sssd-2.3.1/src/providers/ipa/ipa_selinux.c:639: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).
    mls_range_len = strlen(state->sci->mls_range);
data/sssd-2.3.1/src/providers/ipa/ipa_selinux.c:640: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).
    username_len = strlen(state->sci->username);
data/sssd-2.3.1/src/providers/ipa/ipa_views.c:511: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).
    name->values[0].length = strlen(fqdn);
data/sssd-2.3.1/src/providers/ipa/selinux_child.c:155:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_mask = umask(0);
data/sssd-2.3.1/src/providers/ipa/selinux_child.c:165:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_mask);
data/sssd-2.3.1/src/providers/krb5/krb5_ccache.c:188:21:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        old_umask = umask(0000);
data/sssd-2.3.1/src/providers/krb5/krb5_ccache.c:190:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(old_umask);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:864: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 = pam_add_response(kr->pd, SSS_PAM_TEXT_MSG, strlen(banner)+1,
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:934:18:  [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).
    ccname_len = strlen(ccname);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:972:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1117: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).
        vendor_len = strlen(kr->otp_vendor);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1122: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).
        token_id_len = strlen(kr->otp_token_id);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1127: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).
        challenge_len = strlen(kr->otp_challenge);
data/sssd-2.3.1/src/providers/krb5/krb5_child.c:1174: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).
                           strlen(msg) + 1, (uint8_t *)msg);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:166:38:  [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).
    buf->size = 9*sizeof(uint32_t) + strlen(kr->upn);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:173: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).
        buf->size += 4*sizeof(uint32_t) + strlen(kr->ccname) + strlen(keytab) +
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:173: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).
        buf->size += 4*sizeof(uint32_t) + strlen(kr->ccname) + strlen(keytab) +
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:178: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).
            buf->size += strlen(kr->old_ccname);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:188: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).
        username_len = strlen(kr->kuserok_user);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:209: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).
    SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(kr->upn), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:210: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).
    safealign_memcpy(&buf->data[rp], kr->upn, strlen(kr->upn), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:217: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).
        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(kr->ccname), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:218: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).
        safealign_memcpy(&buf->data[rp], kr->ccname, strlen(kr->ccname), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:221: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).
            SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(kr->old_ccname), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:223: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).
                             strlen(kr->old_ccname), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:228: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).
        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(keytab), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_child_handler.c:229: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).
        safealign_memcpy(&buf->data[rp], keytab, strlen(keytab), &rp);
data/sssd-2.3.1/src/providers/krb5/krb5_common.c:56: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).
    if (isdigit(str[strlen(str)-1])) {
data/sssd-2.3.1/src/providers/krb5/krb5_common.c:155: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).
    template_len = strlen(cc_template);
data/sssd-2.3.1/src/providers/krb5/krb5_common.c:540:18:  [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).
    server_len = strlen(contents);
data/sssd-2.3.1/src/providers/krb5/krb5_common.c:868: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).
        if (server_spec[strlen(server_spec) - 1] != ']') {
data/sssd-2.3.1/src/providers/krb5/krb5_utils.c:541: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).
    if (krb5_map_user == NULL || strlen(krb5_map_user) == 0) {
data/sssd-2.3.1/src/providers/ldap/ldap_child.c:125: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).
    len = strlen(msg);
data/sssd-2.3.1/src/providers/ldap/ldap_common.c:745: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).
    if (strncasecmp(uri, LDAP_SSL_URI, strlen(LDAP_SSL_URI)) == 0) {
data/sssd-2.3.1/src/providers/ldap/ldap_options.c:400: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).
        authtok_blob.length = strlen(cleartext);
data/sssd-2.3.1/src/providers/ldap/sdap.c:437: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).
    PROBE(SDAP_PARSE_ENTRY, "OriginalDN", str, strlen(str));
data/sssd-2.3.1/src/providers/ldap/sdap.c:570: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).
                        v.length = strlen((const char *)v.data);
data/sssd-2.3.1/src/providers/ldap/sdap.c:639:15:  [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(objcl) + 1;
data/sssd-2.3.1/src/providers/ldap/sdap.c:1638: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).
    el->values[0].length = strlen(str);
data/sssd-2.3.1/src/providers/ldap/sdap_async_connection.c:1049: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).
            in->len = strlen(in->result);
data/sssd-2.3.1/src/providers/ldap/sdap_async_connection.c:1059: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).
            in->len = strlen(in->result);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:200:18:  [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).
    val.length = strlen(member);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:231: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).
                                         strlen(userdns[i]);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:317: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).
            el->values[j].length = strlen((char *)el->values[j].data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:486:59:  [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).
            ghostel->values[ghostel->num_values].length = strlen(value.ptr);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1111: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1111: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1414: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).
                strlen(strdn);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1473: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).
            strlen(username);
data/sssd-2.3.1/src/providers/ldap/sdap_async_groups.c:1683: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).
            strlen(name_string);
data/sssd-2.3.1/src/providers/ldap/sdap_async_iphost.c:296: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_iphost.c:296: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_ipnetwork.c:301: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_ipnetwork.c:301: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_nested_groups.c:2364:59:  [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).
            members->values[members->num_values].length = strlen(orig_dn);
data/sssd-2.3.1/src/providers/ldap/sdap_async_services.c:302: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_services.c:302: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_sudo.c:550: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).
                fqval.length = strlen((const char *) fqval.data);
data/sssd-2.3.1/src/providers/ldap/sdap_async_users.c:711: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_async_users.c:711: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).
                if ((strlen(usn_value) > strlen(higher_usn)) ||
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:165: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).
        buf->size += strlen(realm_str);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:168: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).
        buf->size += strlen(princ_str);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:171: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).
        buf->size += strlen(keytab_name);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.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).
        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(realm_str), &rp);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:188: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).
        safealign_memcpy(&buf->data[rp], realm_str, strlen(realm_str), &rp);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:195: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).
        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(princ_str), &rp);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:196: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).
        safealign_memcpy(&buf->data[rp], princ_str, strlen(princ_str), &rp);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:203: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).
        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(keytab_name), &rp);
data/sssd-2.3.1/src/providers/ldap/sdap_child_helpers.c:204:55:  [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).
        safealign_memcpy(&buf->data[rp], keytab_name, strlen(keytab_name), &rp);
data/sssd-2.3.1/src/python/pyhbac.c:55: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).
    copy = PyMem_New(char, strlen(string)+1);
data/sssd-2.3.1/src/python/pyhbac.c:68:38:  [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).
    new_first = PyMem_Realloc(first, strlen(first) + strlen(second) + 1);
data/sssd-2.3.1/src/python/pyhbac.c:68: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).
    new_first = PyMem_Realloc(first, strlen(first) + strlen(second) + 1);
data/sssd-2.3.1/src/responder/autofs/autofssrv.c:197:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:102:18:  [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).
    keylen = 1 + strlen(key);
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:103: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).
    valuelen = 1 + strlen(value);
data/sssd-2.3.1/src/responder/autofs/autofssrv_cmd.c:829: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).
    value_len = 1 + strlen(value);
data/sssd-2.3.1/src/responder/common/negcache.c:64:18:  [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->dsize = strlen(str)+1;
data/sssd-2.3.1/src/responder/common/negcache.c:906: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).
    if (strncmp((char *)key.dptr, prefix, strlen(prefix) - 1) != 0) {
data/sssd-2.3.1/src/responder/common/responder_common.c:134:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ret = read(proc_fd, cmd_line, sizeof(cmd_line)-1);
data/sssd-2.3.1/src/responder/common/responder_common.c:843:21:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    orig_umaskval = umask(umaskval);
data/sssd-2.3.1/src/responder/common/responder_common.c:857:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(addr.sun_path, sock_name, sizeof(addr.sun_path) - 1);
data/sssd-2.3.1/src/responder/common/responder_common.c:889:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(orig_umaskval);
data/sssd-2.3.1/src/responder/common/responder_common.c:1359: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).
        if (strlen(tmp) > 1) {
data/sssd-2.3.1/src/responder/common/responder_common.c:1543: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).
    id_len = strlen(id);
data/sssd-2.3.1/src/responder/common/responder_common.c:1552: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).
        dom_id_len = strlen(dom->domain_id);
data/sssd-2.3.1/src/responder/ifp/ifpsrv.c:322:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/ifp/ifpsrv_util.c:406: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).
        el->values[c].length = strlen(out_name);
data/sssd-2.3.1/src/responder/kcm/kcm.c:292:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:71: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).
    if (strlen(sec_key) < UUID_STR_SIZE + 1) {
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:98:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(uuid_str, sec_key, sizeof(uuid_str)-1);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:123:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(uuid_str, sec_key, UUID_STR_SIZE-1);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:484:39:  [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(value)+1);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:542:15:  [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).
    str_len = strlen(str_value);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ccache_json.c:647:18:  [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).
    realm_size = strlen(realm_str);
data/sssd-2.3.1/src/responder/kcm/kcmsrv_ops.c:861: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).
    creds_len = sss_iobuf_get_size(op_ctx->input) - strlen(name) -1;
data/sssd-2.3.1/src/responder/nss/nss_protocol_sid.c:180:38:  [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).
                        val.length = strlen((char *)val.data);
data/sssd-2.3.1/src/responder/nss/nsssrv.c:606:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:823: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).
    hash = sss_mc_hash(mcc, uidstr, strlen(uidstr) + 1);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:961: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).
    hash = sss_mc_hash(mcc, gidstr, strlen(gidstr) + 1);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1156:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_mask = umask(0022);
data/sssd-2.3.1/src/responder/nss/nsssrv_mmap_cache.c:1160:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_mask);
data/sssd-2.3.1/src/responder/pac/pacsrv.c:185:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/pam/pamsrv.c:383:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:112:15:  [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).
    err_len = strlen(user_error_message);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:552: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_name_len = strlen(var_name);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:799: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).
                               strlen(buf) + 1, (uint8_t *)buf);
data/sssd-2.3.1/src/responder/pam/pamsrv_cmd.c:1044:57:  [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 = pam_add_response(pd, SSS_PAM_DOMAIN_NAME, strlen(pd->domain)+1,
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1111: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).
    user_len = strlen(username) + 1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1112: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).
    token_len = strlen(token_name) + 1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1113:18:  [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).
    module_len = strlen(module_name) + 1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1114:18:  [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).
    key_id_len = strlen(key_id) + 1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1115:18:  [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).
    prompt_len = strlen(prompt) + 1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1116: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).
    nss_name_len = strlen(nss_username) +1;
data/sssd-2.3.1/src/responder/pam/pamsrv_p11.c:1247: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 = pam_add_response(pd, SSS_PAM_ENV_ITEM, strlen(env) + 1,
data/sssd-2.3.1/src/responder/secrets/local.c:133:27:  [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).
            body.length = strlen(body.data);
data/sssd-2.3.1/src/responder/secrets/local.c:144:27:  [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).
            body.length = strlen(body.data);
data/sssd-2.3.1/src/responder/secrets/providers.c:82: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).
        slen = strlen(secreq->base_path);
data/sssd-2.3.1/src/responder/secrets/providers.c:197: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).
                        (unsigned)strlen(body), body);
data/sssd-2.3.1/src/responder/secrets/providers.c:201: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).
    reply->length = strlen(reply->data);
data/sssd-2.3.1/src/responder/secrets/providers.c:228: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).
    head_size = strlen(reply->data);
data/sssd-2.3.1/src/responder/secrets/providers.c:302: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).
    reply->length = strlen(reply->data);
data/sssd-2.3.1/src/responder/secrets/providers.c:385: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).
    body_len = strlen(body);
data/sssd-2.3.1/src/responder/secrets/providers.c:391: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).
    reply->length = strlen(headers) + sizeof("\r\n") - 1 + body_len;
data/sssd-2.3.1/src/responder/secrets/proxy.c:239: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).
    blen = strlen(secreq->base_path);
data/sssd-2.3.1/src/responder/secrets/secsrv.c:267:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/secrets/secsrv_cmd.c:333:33:  [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(req->request_url),
data/sssd-2.3.1/src/responder/ssh/ssh_known_hosts.c:126:56:  [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).
                                (unsigned char *)name, strlen(name),
data/sssd-2.3.1/src/responder/ssh/ssh_known_hosts.c:238: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).
            wret = sss_atomic_write_s(fd, entstr, strlen(entstr));
data/sssd-2.3.1/src/responder/ssh/ssh_reply.c:374: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).
        name->len = strlen(name->str) + 1;
data/sssd-2.3.1/src/responder/ssh/sshsrv.c:182:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/sudo/sudosrv.c:159:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(DFL_RSP_UMASK);
data/sssd-2.3.1/src/responder/sudo/sudosrv_get_sudorules.c:166: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).
        el->values[i].length = strlen(fqname);
data/sssd-2.3.1/src/responder/sudo/sudosrv_query.c:97:57:  [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 = sudosrv_response_append_string(tmp_ctx, name, strlen(name) + 1,
data/sssd-2.3.1/src/responder/sudo/sudosrv_query.c:114: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).
        if (strlen((strval)) != values[i].length) {
data/sssd-2.3.1/src/sbus/connection/sbus_watch.c:99:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        DBusWatch *read;
data/sssd-2.3.1/src/sbus/connection/sbus_watch.c:133:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (flags & TEVENT_FD_READ && watch_fd->dbus_watch.read != NULL) {
data/sssd-2.3.1/src/sbus/connection/sbus_watch.c:134:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dbus_watch_handle(watch_fd->dbus_watch.read, DBUS_WATCH_READABLE);
data/sssd-2.3.1/src/sbus/interface/sbus_iterator_writers.c:62:55:  [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).
    is_valid = sss_utf8_check((const uint8_t *)value, strlen(value));
data/sssd-2.3.1/src/sbus/sbus_opath.c:335:18:  [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(prefix);
data/sssd-2.3.1/src/sbus/sbus_opath.c:348: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).
    len = strlen(object_path);
data/sssd-2.3.1/src/sbus/sbus_opath.c:375: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).
    len = strlen(tree_path);
data/sssd-2.3.1/src/sbus/server/sbus_server_match.c:206: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).
    size_t name_len = strlen(name);
data/sssd-2.3.1/src/sbus/server/sbus_server_match.c:230: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).
    iter_len = strlen(iter);
data/sssd-2.3.1/src/sss_client/autofs/sss_autofs.c:87:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, mapname, name_len + 1);
data/sssd-2.3.1/src/sss_client/common.c:263:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            res = read(sss_cli_sd,
data/sssd-2.3.1/src/sss_client/common.c:268:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            res = read(sss_cli_sd,
data/sssd-2.3.1/src/sss_client/common.c:543: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).
    if (sizeof(nssaddr.sun_path) < strlen(socket_name) + 1) {
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c:65: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).
        return sss_nss_mc_getpwnam(inp->input.name, strlen(inp->input.name),
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c:79: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).
        return sss_nss_mc_getgrnam(inp->input.name, strlen(inp->input.name),
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_ex.c:94: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).
                                         strlen(inp->input.name),
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_idmap.c:121:15:  [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).
        rp += strlen(n[c]) + 1;
data/sssd-2.3.1/src/sss_client/idmap/sss_nss_idmap.c:313:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(str, (char *) repbuf + DATA_START, data_len-1);
data/sssd-2.3.1/src/sss_client/libwbclient/wbc_sid_common.c:41:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(buf, "(NULL SID)", buflen);
data/sssd-2.3.1/src/sss_client/libwbclient/wbclient_common.c:136: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).
    len = strlen(str);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:178: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).
        pw_name_len = strlen(pwd.pw_name) + 1;
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:219: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).
        gr_name_len = strlen(grp.gr_name) + 1;
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:393: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).
    len1 = strlen(s1);
data/sssd-2.3.1/src/sss_client/nfs/sss_nfs_client.c:394: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).
    len2 = strlen(s2);
data/sssd-2.3.1/src/sss_client/nss_hosts.c:202: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).
        i += strlen(&sbuf[i]) + 1;
data/sssd-2.3.1/src/sss_client/nss_netgroup.c:189:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, netgroup, name_len + 1);
data/sssd-2.3.1/src/sss_client/pam_sss.c:176: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).
        _pam_overwrite_n((void *)pi->first_factor, strlen(pi->first_factor));
data/sssd-2.3.1/src/sss_client/pam_sss.c:364: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).
    size = sizeof(PW_RESET_MSG_FILENAME_TEMPLATE) + strlen(domain_name) +
data/sssd-2.3.1/src/sss_client/pam_sss.c:365: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).
           strlen(suffix);
data/sssd-2.3.1/src/sss_client/pam_sss.c:723:15:  [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).
    bufsize = strlen(EXP_ACC_MSG) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:726: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).
        bufsize += strlen(SRV_MSG) + msg_len;
data/sssd-2.3.1/src/sss_client/pam_sss.c:778:15:  [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).
    bufsize = strlen(_("Password change failed. ")) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:781: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).
        bufsize += strlen(_("Server message: ")) + msg_len;
data/sssd-2.3.1/src/sss_client/pam_sss.c:887: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).
    offset = strlen(cai->cert_user) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:901:15:  [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).
    offset += strlen(cai->token_name) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:915:15:  [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).
    offset += strlen(cai->module_name) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:929:15:  [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).
    offset += strlen(cai->key_id) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:943:15:  [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).
    offset += strlen(cai->prompt_str) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1109: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).
                offset = strlen(pi->otp_vendor) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1123:27:  [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).
                offset += strlen(pi->otp_token_id) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1169: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).
                    pi->pam_user_size = strlen(pi->pam_user) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1230: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).
    pi->pam_service_size=strlen(pi->pam_service)+1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1251: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).
    pi->pam_user_size=strlen(pi->pam_user)+1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1257: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).
    pi->pam_tty_size=strlen(pi->pam_tty)+1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1262: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).
    pi->pam_ruser_size=strlen(pi->pam_ruser)+1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1267: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).
    pi->pam_rhost_size=strlen(pi->pam_rhost)+1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1287: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).
    pi->requested_domains_size = strlen(pi->requested_domains) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1485: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).
        pi->pam_authtok_size=strlen(pi->pam_authtok);
data/sssd-2.3.1/src/sss_client/pam_sss.c:1556: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).
        pi->pam_authtok_size = strlen(pi->pam_authtok) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:1639: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).
        pi->pam_authtok_size=strlen(pi->pam_authtok);
data/sssd-2.3.1/src/sss_client/pam_sss.c:1848: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).
    size = sizeof(SC_PROMPT_FMT) + strlen(cai->token_name);
data/sssd-2.3.1/src/sss_client/pam_sss.c:1934:33:  [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).
            pi->pam_user_size = strlen(pi->pam_user) + 1;
data/sssd-2.3.1/src/sss_client/pam_sss.c:2035:33:  [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).
        pi->pam_newauthtok_size=strlen(pi->pam_newauthtok);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2056: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).
        } else if (strncmp(*argv, OPT_DOMAINS_KEY, strlen(OPT_DOMAINS_KEY)) == 0) {
data/sssd-2.3.1/src/sss_client/pam_sss.c:2057: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).
            if (*(*argv+strlen(OPT_DOMAINS_KEY)) == '\0') {
data/sssd-2.3.1/src/sss_client/pam_sss.c:2061: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).
                *domains = *argv+strlen(OPT_DOMAINS_KEY);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2064: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).
        } else if (strncmp(*argv, OPT_RETRY_KEY, strlen(OPT_RETRY_KEY)) == 0) {
data/sssd-2.3.1/src/sss_client/pam_sss.c:2169: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).
        pi->pam_authtok_size = strlen(pi->pam_authtok);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2403: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).
            pi->pam_authtok_size = strlen(pi->pam_authtok);
data/sssd-2.3.1/src/sss_client/pam_sss.c:2414: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).
        pi->pam_newauthtok_size = strlen(pi->pam_newauthtok);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:328:18:  [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(pc_list[c]->data.password.prompt);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:332:18:  [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(pc_list[c]->data.two_fa.prompt_1st);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:334:18:  [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(pc_list[c]->data.two_fa.prompt_2nd);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:338:18:  [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(pc_list[c]->data.two_fa_single.prompt);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:363: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).
                                 strlen(pc_list[c]->data.password.prompt), &rp);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:365: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).
                             strlen(pc_list[c]->data.password.prompt), &rp);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:369: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).
                                 strlen(pc_list[c]->data.two_fa.prompt_1st),
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:372: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).
                             strlen(pc_list[c]->data.two_fa.prompt_1st), &rp);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:374: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).
                                 strlen(pc_list[c]->data.two_fa.prompt_2nd),
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:377: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).
                             strlen(pc_list[c]->data.two_fa.prompt_2nd), &rp);
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:381: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).
                                 strlen(pc_list[c]->data.two_fa_single.prompt),
data/sssd-2.3.1/src/sss_client/pam_sss_prompt_config.c:384: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).
                             strlen(pc_list[c]->data.two_fa_single.prompt),
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_client.c:129: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).
    name_len = strlen(name)+1;
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_client.c:134: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).
        alias_len = strlen(alias)+1;
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_client.c:139: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).
    domain_len = domain ? (strlen(domain)+1) : 0;
data/sssd-2.3.1/src/sss_client/ssh/sss_ssh_knownhostsproxy.c:120:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                res = read(fds[i].fd, buffer, BUFFER_SIZE);
data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.c:98: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 (username == NULL || strlen(username) == 0) {
data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.c:115: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 (username == NULL || strlen(username) == 0) {
data/sssd-2.3.1/src/sss_client/sudo/sss_sudo.c:127:27:  [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 username_len = strlen(username) * sizeof(char) + 1;
data/sssd-2.3.1/src/tests/check_and_open-tests.c:51:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/tests/check_and_open-tests.c:53:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/tests/check_and_open-tests.c:96: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).
    newpath_length = strlen(filename) + strlen(SUFFIX) + 1;
data/sssd-2.3.1/src/tests/check_and_open-tests.c:96: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).
    newpath_length = strlen(filename) + strlen(SUFFIX) + 1;
data/sssd-2.3.1/src/tests/check_and_open-tests.c:123: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).
    newpath_length = strlen(filename) + strlen(SUFFIX) + 1;
data/sssd-2.3.1/src/tests/check_and_open-tests.c:123: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).
    newpath_length = strlen(filename) + strlen(SUFFIX) + 1;
data/sssd-2.3.1/src/tests/cmocka/common_mock_krb5.c:66: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).
    kent->key.length = strlen(key) - 1;
data/sssd-2.3.1/src/tests/cmocka/test_ad_gpo.c:101: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).
                    strlen(expected->som_dns[i])) != 0) {
data/sssd-2.3.1/src/tests/cmocka/test_ad_gpo.c:105:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        assert_int_equal(equal, true);
data/sssd-2.3.1/src/tests/cmocka/test_ad_gpo.c:184: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).
                    strlen(expected->gpo_dns[i])) != 0) {
data/sssd-2.3.1/src/tests/cmocka/test_ad_gpo.c:191:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        assert_int_equal(equal, true);
data/sssd-2.3.1/src/tests/cmocka/test_authtok.c:105: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).
    len = strlen(data) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_authtok.c:147: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).
    len = strlen(data) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_authtok.c:252: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).
    len = strlen(data) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_authtok.c:287: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).
    len = strlen(data) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_authtok.c:675: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).
    len = strlen(data) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_child_common.c:392: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).
    echo_state->buf.size = strlen(input) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:86: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).
    assert_int_equal(b.length, strlen(BLOB_DEFAULT));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:87: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).
    assert_memory_equal(b.data, BLOB_DEFAULT, strlen(BLOB_DEFAULT));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.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).
    b.length = strlen("blob1");
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:131: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).
    b.length = strlen("blob2");
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:171: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).
    b.length = strlen("blob1");
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:192: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).
    assert_int_equal(b.length, strlen("blob1"));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:193: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).
    assert_memory_equal(b.data, "blob1", strlen("blob1"));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:246: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).
    assert_int_equal(b.length, strlen("blobval2"));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:247: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).
    assert_memory_equal(b.data, "blobval2", strlen("blobval2"));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:251: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).
    assert_int_equal(b.length, strlen(BLOB_DEFAULT));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:252: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).
    assert_memory_equal(b.data, BLOB_DEFAULT, strlen(BLOB_DEFAULT));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:337: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).
    b.length = strlen("blob2");
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:348: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).
    assert_int_equal(b.length, strlen("blob2"));
data/sssd-2.3.1/src/tests/cmocka/test_dp_opts.c:349: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).
    assert_memory_equal(b.data, "blob2", strlen("blob2"));
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:73:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(50000); /* 50 milliseconds */
data/sssd-2.3.1/src/tests/cmocka/test_dyndns.c:78:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(50000); /* 50 milliseconds */
data/sssd-2.3.1/src/tests/cmocka/test_ifp.c:61: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).
    el->values[0].length = strlen("one") + 1;
data/sssd-2.3.1/src/tests/cmocka/test_ifp.c:63: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).
    el->values[1].length = strlen("two") + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:109:15:  [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((const char *) *body)+1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:271: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).
    len = strlen(input);
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:372: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).
    rp += strlen(pwd->pw_name) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:376: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).
    rp += strlen(pwd->pw_passwd) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:380: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).
    rp += strlen(pwd->pw_gecos) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:384: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).
    rp += strlen(pwd->pw_dir) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:388: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).
    rp += strlen(pwd->pw_shell) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:403: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).
    rp += strlen(gr->gr_name) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:407: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).
    rp += strlen(gr->gr_passwd) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:419:19:  [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).
            rp += strlen(gr->gr_mem[i]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2426: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2431: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2436: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2441: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2446: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2451: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2456: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2461: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2551: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2556: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2561: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2566: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2571: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2576: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2581: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2586: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2591: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2596: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2673: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2678: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2683: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2688: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2693: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2698: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2703: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2708: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2713: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2718: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2723: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:2728: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).
    rp += strlen(s) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:3899: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).
    rp += strlen(name) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5000: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).
    rp += strlen(hent->h_name) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5007:19:  [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).
            rp += strlen(hent->h_aliases[i]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5016:19:  [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).
            rp += strlen(hent->h_addr_list[i]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5342: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).
    rp += strlen(netent->n_name) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5349: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).
    rp += strlen(address) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_nss_srv.c:5358:19:  [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).
            rp += strlen(netent->n_aliases[i]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:686:15:  [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((const char *) *body) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:764: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).
        pi.pam_user_size = strlen(pi.pam_user) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:787: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).
            pi.pam_authtok_size = strlen(pi.pam_authtok) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:796:27:  [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).
    pi.pam_service_size = strlen(pi.pam_service) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:798: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).
    pi.pam_tty_size = strlen(pi.pam_tty) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:800: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).
    pi.pam_ruser_size = strlen(pi.pam_ruser) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:802: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).
    pi.pam_rhost_size = strlen(pi.pam_rhost) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:852: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).
        pi.pam_user_size = strlen(pi.pam_user) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:877:27:  [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).
    pi.pam_service_size = strlen(pi.pam_service) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:879: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).
    pi.pam_tty_size = strlen(pi.pam_tty) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:881: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).
    pi.pam_ruser_size = strlen(pi.pam_ruser) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:883: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).
    pi.pam_rhost_size = strlen(pi.pam_rhost) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:963: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).
    assert_int_equal(val, (strlen(PKCS11_LOGIN_TOKEN_ENV_NAME "=")
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:1013: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).
        assert_int_equal(*(body + *rp + strlen(strs[c])), 0);
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:1015: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).
        *rp += strlen(strs[c]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:1025: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).
        sum += strlen(strs[c]) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:1099: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).
            && strncmp((char *) body + rp + strlen(name) + 1
data/sssd-2.3.1/src/tests/cmocka/test_pam_srv.c:3087: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).
                           strlen(env) + 1, (uint8_t *) env);
data/sssd-2.3.1/src/tests/cmocka/test_sdap.c:72: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).
    dref->derefVal.bv_len = strlen(entry->dn);
data/sssd-2.3.1/src/tests/cmocka/test_sdap.c:94:39:  [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).
            dval->vals[nval].bv_len = strlen(dval->vals[nval].bv_val);
data/sssd-2.3.1/src/tests/cmocka/test_sdap.c:173:27:  [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).
        vals[i]->bv_len = strlen(attrvals[i]);
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:279:15:  [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((const char *) *body) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:329:18:  [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(username);
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:388: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).
    name_len = strlen(ssh_test_ctx->ssh_user_fqdn) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:511: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).
    name_len = strlen(ssh_test_ctx->ssh_user_fqdn) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_ssh_srv.c:565: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).
    name_len = strlen(ssh_test_ctx->ssh_user_fqdn) + 1;
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_localauth_plugin.c:59: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).
        assert_true(buflen > strlen(test_data->name));
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_localauth_plugin.c:60:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buffer, test_data->name, buflen);
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:421: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).
                        strlen(host)) == 0 && !test_data[d].found) {
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:468: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).
        s = write(fd, test_data[c].ip, strlen(test_data[c].ip));
data/sssd-2.3.1/src/tests/cmocka/test_sssd_krb5_locator_plugin.c:469: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).
        assert_int_equal(s, strlen(test_data[c].ip));
data/sssd-2.3.1/src/tests/cmocka/test_utils.c:1618: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).
                             strlen(tmp_filename) - sizeof("XXXXXX")),
data/sssd-2.3.1/src/tests/crypto-tests.c:74:59:  [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 = sss_password_encrypt(test_ctx, password[i], strlen(password[i])+1,
data/sssd-2.3.1/src/tests/crypto-tests.c:116: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).
        ret = sss_hmac_sha1((const unsigned char *)keys[i], strlen(keys[i]),
data/sssd-2.3.1/src/tests/crypto-tests.c:117: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).
                            (const unsigned char *)message, strlen(message),
data/sssd-2.3.1/src/tests/crypto-tests.c:134: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).
    obfpwd = sss_base64_encode(test_ctx, obfbuf, strlen((const char*)obfbuf));
data/sssd-2.3.1/src/tests/crypto-tests.c:154: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).
    fail_if(obflen != strlen((const char*)expected));
data/sssd-2.3.1/src/tests/cwrap/test_server.c:65:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(50000);
data/sssd-2.3.1/src/tests/cwrap/test_server.c:72:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = read(fd, buf, sizeof(buf));
data/sssd-2.3.1/src/tests/debug-tests.c:139:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(filename, "sssd_debug_tests.XXXXXX", 24);
data/sssd-2.3.1/src/tests/debug-tests.c:141:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/tests/debug-tests.c:143:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/tests/debug-tests.c:279:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(filename, "sssd_debug_tests.XXXXXX", 24);
data/sssd-2.3.1/src/tests/debug-tests.c:281:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/tests/debug-tests.c:283:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/tests/safe-format-tests.c:168: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).
        ck_assert_int_eq(ret, strlen(out));
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:647: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).
    fail_unless(strlen("S-1-5-21-1-2-3-1000") == strlen(new_sid),
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:647: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).
    fail_unless(strlen("S-1-5-21-1-2-3-1000") == strlen(new_sid),
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:674: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).
    fail_unless(strlen(large_sid) == strlen(new_sid),
data/sssd-2.3.1/src/tests/sss_idmap-tests.c:674:38:  [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).
    fail_unless(strlen(large_sid) == strlen(new_sid),
data/sssd-2.3.1/src/tests/sysdb-tests.c:2698: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).
        gv.length = strlen(ghostname);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2727: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).
        gv.length = strlen(ghostname);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2787: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).
        gv.length = strlen(ghostname_del);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2811: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).
        gv.length = strlen(ghostname_add);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2877: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).
        gv.length = strlen(ghostname_rep);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2886: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).
        gv.length = strlen(ghostname_rep);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2898: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).
            gv.length = strlen(ghostname_check);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2909: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).
                gv.length = strlen(ghostname_check);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2934: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).
        gv.length = strlen(ghostname_rep);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2945: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).
        gv.length = strlen(ghostname_rep);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2955: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).
            gv.length = strlen(ghostname_check);
data/sssd-2.3.1/src/tests/sysdb-tests.c:2966: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).
                gv.length = strlen(ghostname_check);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3408: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).
        gv.length = strlen(ghostname);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3432: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).
        gv.length = strlen(ghostname);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3642: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).
    gv.length = strlen(ghostname_del);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3662: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).
    gv.length = strlen(ghostname_add);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3716: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).
    gv.length = strlen(ghostname_del);
data/sssd-2.3.1/src/tests/sysdb-tests.c:3736: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).
    gv.length = strlen(ghostname_add);
data/sssd-2.3.1/src/tests/tcurl_test_tool.c:173:44:  [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(arg));
data/sssd-2.3.1/src/tests/test_ssh_client.c:115:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = read(p[0], buf, sizeof(buf));
data/sssd-2.3.1/src/tests/util-tests.c:483: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).
                             strlen((const char *)munchen_utf8_upcase),
data/sssd-2.3.1/src/tests/util-tests.c:485: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).
    fail_if(strlen((const char *) munchen_utf8_upcase) != nlen); /* This is not true for utf8 strings in general */
data/sssd-2.3.1/src/tests/util-tests.c:503:33:  [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((const char *) munchen_utf8_upcase),
data/sssd-2.3.1/src/tests/util-tests.c:521: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).
    fail_if(memcmp(lcase, munchen_utf8_lowcase, strlen(lcase)));
data/sssd-2.3.1/src/tests/util-tests.c:552:33:  [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 = sss_utf8_check(valid, strlen((const char *) valid));
data/sssd-2.3.1/src/tests/util-tests.c:555: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).
    ret = sss_utf8_check((const uint8_t *) invalid, strlen(invalid));
data/sssd-2.3.1/src/tests/util-tests.c:569: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).
                                 strlen(tests[i]),
data/sssd-2.3.1/src/tests/util-tests.c:615:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/tests/util-tests.c:617:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/tests/util-tests.c:662: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).
    ssize_t wsize = strlen(wbuf)+1;
data/sssd-2.3.1/src/tests/util-tests.c:694: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).
    ssize_t wsize = strlen(wbuf)+1;
data/sssd-2.3.1/src/tests/util-tests.c:733: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).
    ssize_t wsize = strlen(wbuf)+1;
data/sssd-2.3.1/src/tests/util-tests.c:1119:15:  [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(error);
data/sssd-2.3.1/src/tools/common/sss_tools.c:229:15:  [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(commands[i].command);
data/sssd-2.3.1/src/tools/sss_seed.c:220: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).
    if (strlen(temp) == 0) {
data/sssd-2.3.1/src/tools/sss_seed.c:227: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).
    sss_erase_mem_securely(temp, strlen(temp));
data/sssd-2.3.1/src/tools/sss_seed.c:243: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).
    if (strncmp(temp,password,strlen(password)) != 0) {
data/sssd-2.3.1/src/tools/sss_seed.c:255:38:  [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).
        sss_erase_mem_securely(temp, strlen(temp));
data/sssd-2.3.1/src/tools/sss_sync_ops.c:542:56:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                         SSS_DFL_UMASK, (int *) &data->umask);
data/sssd-2.3.1/src/tools/sss_sync_ops.c:546:51:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    DEBUG(SSSDBG_TRACE_LIBS, "Umask: %o\n", data->umask);
data/sssd-2.3.1/src/tools/sss_sync_ops.h:50:12:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    mode_t umask;
data/sssd-2.3.1/src/tools/sss_useradd.c:234:42:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                             tctx->octx->umask);
data/sssd-2.3.1/src/tools/sssctl/sssctl.c:62:17:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = getchar();
data/sssd-2.3.1/src/tools/sssctl/sssctl.c:72:15:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        ret = scanf("%254s", answer);
data/sssd-2.3.1/src/tools/sssctl/sssctl.c:75:21:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((c = getchar()) != '\n' && c != EOF);
data/sssd-2.3.1/src/tools/sssctl/sssctl_data.c:48:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_X_UMASK);
data/sssd-2.3.1/src/tools/sssctl/sssctl_data.c:50:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/tools/sssctl/sssctl_domains.c:178: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).
    } else if (strncasecmp(service, "sd_gc_", strlen("sd_gc_")) == 0) {
data/sssd-2.3.1/src/tools/sssctl/sssctl_domains.c:180:44:  [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).
    } else if (strncasecmp(service, "sd_", strlen("sd_")) == 0) {
data/sssd-2.3.1/src/tools/tools_mc_util.c:189:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(step_time);
data/sssd-2.3.1/src/tools/tools_mc_util.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).
    rd.len = strlen(name) + 1;
data/sssd-2.3.1/src/tools/tools_util.c:79:18:  [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).
        lentmp = strlen(error);
data/sssd-2.3.1/src/util/atomic_io.c:36:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            res = read(fd, b + pos, n - pos);
data/sssd-2.3.1/src/util/authtok-utils.c:42:19:  [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).
        fa1_len = strlen(fa1);
data/sssd-2.3.1/src/util/authtok-utils.c:50:19:  [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).
        fa2_len = strlen(fa2);
data/sssd-2.3.1/src/util/authtok-utils.c:118:19:  [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).
        pin_len = strlen(pin);
data/sssd-2.3.1/src/util/authtok-utils.c:122: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).
        token_name_len = strlen(token_name);
data/sssd-2.3.1/src/util/authtok-utils.c:126:27:  [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).
        module_name_len = strlen(module_name);
data/sssd-2.3.1/src/util/authtok-utils.c:130: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).
        key_id_len = strlen(key_id);
data/sssd-2.3.1/src/util/authtok.c:147:15:  [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);
data/sssd-2.3.1/src/util/authtok.c:351:38:  [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).
    *_fa1_len = (*fa1 == NULL) ? 0 : strlen(*fa1);
data/sssd-2.3.1/src/util/authtok.c:352:38:  [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).
    *_fa2_len = (*fa2 == NULL) ? 0 : strlen(*fa2);
data/sssd-2.3.1/src/util/authtok.c:738: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).
        *_pin_len = (*pin == NULL) ? 0 : strlen(*pin);
data/sssd-2.3.1/src/util/authtok.c:741:56:  [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).
        *_token_name_len = (*token_name == NULL) ? 0 : strlen(*token_name);
data/sssd-2.3.1/src/util/authtok.c:744: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).
        *_module_name_len = (*module_name == NULL) ? 0 : strlen(*module_name);
data/sssd-2.3.1/src/util/authtok.c:748: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).
        *_key_id_len = (*key_id == NULL) ? 0 : strlen(*key_id);
data/sssd-2.3.1/src/util/cert/libcrypto/cert.c:224:18:  [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).
    header_len = strlen(header);
data/sssd-2.3.1/src/util/cert/libcrypto/cert.c:225: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).
    identifier_len = strlen(identifier);
data/sssd-2.3.1/src/util/cert/nss/cert.c:81: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).
    ascii_crlf_len = strlen(ascii_crlf) + 1;
data/sssd-2.3.1/src/util/cert/nss/cert.c:106: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).
        *pem_size = strlen(pem_cert_str);
data/sssd-2.3.1/src/util/cert/nss/cert.c:155:15:  [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).
    pem_len = strlen(pem);
data/sssd-2.3.1/src/util/cert/nss/cert.c:290:18:  [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).
    header_len = strlen(header);
data/sssd-2.3.1/src/util/cert/nss/cert.c:291: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).
    identifier_len = strlen(identifier);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_base64.c:76: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).
    int size, inlen = strlen(in);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:115:15:  [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).
    key_len = strlen(key);
data/sssd-2.3.1/src/util/crypto/libcrypto/crypto_sha512crypt.c:338:19:  [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 (salt) + 1 + 86 + 1);
data/sssd-2.3.1/src/util/crypto/nss/nss_base64.c:50:15:  [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).
    b64size = strlen(b64encoded) + 1;
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:117:15:  [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).
    key_len = strlen(key);
data/sssd-2.3.1/src/util/crypto/nss/nss_sha512crypt.c:338:19:  [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 (salt) + 1 + 86 + 1);
data/sssd-2.3.1/src/util/debug.c:424:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/util/debug.c:433:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/util/domain_info_utils.c:143:15:  [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).
    sid_len = strlen(sid);
data/sssd-2.3.1/src/util/domain_info_utils.c:151:27:  [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).
            dom_sid_len = strlen(dom->domain_id);
data/sssd-2.3.1/src/util/domain_info_utils.c:476:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_mode = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/util/domain_info_utils.c:478:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_mode);
data/sssd-2.3.1/src/util/domain_info_utils.c:655:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_mode = umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/util/domain_info_utils.c:657:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_mode);
data/sssd-2.3.1/src/util/domain_info_utils.c:666: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).
    size = strlen(content);
data/sssd-2.3.1/src/util/inotify.c:298:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        len = read(snctx->wctx->inotify_fd, ev_buf, sizeof(ev_buf));
data/sssd-2.3.1/src/util/inotify.c:400:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(fcopy, filename, sizeof(fcopy) - 1);
data/sssd-2.3.1/src/util/inotify.c:436:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fcopy, resolved, sizeof(fcopy) - 1);
data/sssd-2.3.1/src/util/inotify.c:449:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fcopy, resolved, sizeof(fcopy) - 1);
data/sssd-2.3.1/src/util/safe-format-string.c:193:15:  [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 (value);
data/sssd-2.3.1/src/util/secrets/secrets.c:136: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).
                      (const uint8_t *)secret, strlen(secret) + 1,
data/sssd-2.3.1/src/util/secrets/secrets.c:511: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).
                        strlen(secrets_url_mapping[i].prefix)) == 0) {
data/sssd-2.3.1/src/util/secrets/secrets.c:1067: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).
    ret = local_check_max_payload_size(req, strlen(secret));
data/sssd-2.3.1/src/util/secrets/secrets.c:1180: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).
    ret = local_check_max_payload_size(req, strlen(secret));
data/sssd-2.3.1/src/util/secrets/secrets.c:1307: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).
    plen = strlen(req->path);
data/sssd-2.3.1/src/util/secrets/secrets.c:1323: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).
    if (req->mapped_path[strlen(req->mapped_path) - 1] == '/') {
data/sssd-2.3.1/src/util/server.c:218: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).
    size = strlen(pid_str);
data/sssd-2.3.1/src/util/server.c:510:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(SSS_DFL_UMASK);
data/sssd-2.3.1/src/util/sss_ini.c:144: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).
    return ini_config_file_from_mem(data_buf, strlen(data_buf),
data/sssd-2.3.1/src/util/sss_ini.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).
    ldif_len = strlen(CONFDB_INTERNAL_LDIF);
data/sssd-2.3.1/src/util/sss_ini.c:467:19:  [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).
        dn_size = strlen(dn);
data/sssd-2.3.1/src/util/sss_ini.c:498: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_len = strlen(ldif_attr);
data/sssd-2.3.1/src/util/sss_ini.c:563:19:  [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).
        dn_size = strlen(dn);
data/sssd-2.3.1/src/util/sss_ini.c:614: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).
        if (strncmp(dom_prefix, cfg_sections[i], strlen(dom_prefix)) == 0) {
data/sssd-2.3.1/src/util/sss_ini.c:817:44:  [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(fallback_cfg));
data/sssd-2.3.1/src/util/sss_iobuf.c:309:33:  [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).
                           str, strlen(str)+1,
data/sssd-2.3.1/src/util/sss_krb5.c:332:19:  [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).
        tmp_len = strlen(pattern_primary);
data/sssd-2.3.1/src/util/sss_krb5.c:347: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).
        len_diff = strlen(primary)-primary_str_len;
data/sssd-2.3.1/src/util/sss_krb5.c:359: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).
    if (!pattern_realm || (realm_len == strlen(pattern_realm) &&
data/sssd-2.3.1/src/util/sss_krb5.c:525: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).
        memset(name, 0, strlen(name));
data/sssd-2.3.1/src/util/sss_krb5.c:731: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).
        krb5_princ_realm(context, &p)->length = strlen(default_realm);
data/sssd-2.3.1/src/util/sss_krb5.c:811: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).
        *len = strlen(realm_str);
data/sssd-2.3.1/src/util/sss_ldap.c:350: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).
    dn_len = strlen(dn);
data/sssd-2.3.1/src/util/sss_ldap.c:353: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).
        basedn_len = strlen(base->basedn);
data/sssd-2.3.1/src/util/sss_regexp.c:68: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).
                             strlen(pattern),
data/sssd-2.3.1/src/util/sss_regexp.c:101: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).
                       strlen(subject),
data/sssd-2.3.1/src/util/sss_regexp.c:183: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).
                     strlen(subject),
data/sssd-2.3.1/src/util/sss_ssh.c:247:57:  [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 = sss_atomic_write_s(STDOUT_FILENO, repr_break, strlen(repr_break));
data/sssd-2.3.1/src/util/sss_tc_utf8.c:31: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).
    ret = sss_tc_utf8_tolower(mem_ctx, (const uint8_t *) s, strlen(s), &nlen);
data/sssd-2.3.1/src/util/sss_utf8.c:75: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).
    nlen = strlen(glower);
data/sssd-2.3.1/src/util/string_utils.c:120: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).
    len = strlen(str);
data/sssd-2.3.1/src/util/user_info_msg.c:39:15:  [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).
    err_len = strlen(user_error_message);
data/sssd-2.3.1/src/util/usertools.c:672: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).
        shortname_len = strlen(fqname) - strlen(separator);
data/sssd-2.3.1/src/util/usertools.c:672: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).
        shortname_len = strlen(fqname) - strlen(separator);
data/sssd-2.3.1/src/util/util.c:63:18:  [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).
    tmp = malloc(strlen(str) + 1);
data/sssd-2.3.1/src/util/util.c:451: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).
        out->len = strlen(out->str) + 1;
data/sssd-2.3.1/src/util/util.c:469:15:  [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(ipv6addr);
data/sssd-2.3.1/src/util/util.c:597: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).
    int diff = strlen(host) - strlen(domain);
data/sssd-2.3.1/src/util/util.c:597: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).
    int diff = strlen(host) - strlen(domain);
data/sssd-2.3.1/src/util/util.c:777: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).
    len = strlen(str);
data/sssd-2.3.1/src/util/util.c:886: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).
    tmpl_len = strlen(path_tmpl);
data/sssd-2.3.1/src/util/util.c:894:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    old_umask = umask(file_umask);
data/sssd-2.3.1/src/util/util.c:896:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(old_umask);
data/sssd-2.3.1/src/util/util_ext.c:161: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).
    output = talloc_array(mem_ctx, char, strlen(input) * 3 + 1);
data/sssd-2.3.1/src/util/util_lock.c:64:27:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                    ret = usleep(wait);
data/sssd-2.3.1/src/util/util_watchdog.c:114:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = read(fd, buffer, DEFAULT_BUFFER_SIZE);

ANALYSIS SUMMARY:

Hits = 1227
Lines analyzed = 433580 in approximately 9.06 seconds (47864 lines/second)
Physical Source Lines of Code (SLOC) = 325817
Hits@level = [0] 441 [1] 575 [2] 522 [3]  30 [4]  85 [5]  15
Hits@level+ = [0+] 1668 [1+] 1227 [2+] 652 [3+] 130 [4+] 100 [5+]  15
Hits/KSLOC@level+ = [0+] 5.11944 [1+] 3.76592 [2+] 2.00112 [3+] 0.398997 [4+] 0.306921 [5+] 0.0460381
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.