]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor static analysis defects 1126/head
authorRobbie Harwood <rharwood@redhat.com>
Thu, 15 Oct 2020 22:15:29 +0000 (18:15 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 23 Oct 2020 00:15:26 +0000 (20:15 -0400)
commitb27461141810fddd299764928649148c5d0e99f3
tree5fa6edfaeee7720edd5a65fbf146ff21533314fc
parent07ff54d0bb85109df114612bbbfa6559f4a1e0cb
Fix minor static analysis defects

Remove an unused variable in krb5_ldap_create().  Handle the return
value from krb5_dbe_get_string() in the certauth test plugin module.
Handle the return value from k5_expand_path_tokens() in
k5_rc_default().  Remove dead assignments in
krb5_get_credentials_for_user() and kg_accept_krb5().

[ghudson@mit.edu: squashed and edited commit message; simplified
k5_rc_default() change]
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/krb5/krb/s4u_creds.c
src/lib/krb5/rcache/rc_base.c
src/plugins/certauth/test/main.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c