]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix garbage return in extract_cammacs()
authorRobbie Harwood <rharwood@redhat.com>
Mon, 18 Jun 2018 21:49:52 +0000 (17:49 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 26 Jun 2018 15:06:27 +0000 (11:06 -0400)
commit8b3384c4bb91031a8cc648ecef2b20b8a4480e73
tree7f669a16a7abb2fcdc6e087904ca147799e4dfbb
parent6c8b6039e67f63b5c657cb0563ae32ea7f00d083
Fix garbage return in extract_cammacs()

If no cammacs were present, we would never initialize ret before
returning it.  (extract_cammcs() is currently never called with an
empty or null list, so this does not manifest as a bug.)

[ghudson@mit.edu: amended commit message]
src/lib/krb5/krb/authdata.c