]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix unlikely null dereference in TGS client code
authorNeng Xue <xnsuda@yahoo.com>
Mon, 30 Jun 2014 21:04:56 +0000 (14:04 -0700)
committerTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2014 22:20:33 +0000 (18:20 -0400)
commit70faf7db9d54ef464b220860d346c7d5f0ec83f3
tree4a7de19a07b2f2f4dfdd884fa87a6d11dc9ee58b
parentd749fa1a6442a920592d34a8f43aa857a56be044
Fix unlikely null dereference in TGS client code

If krb5_get_tgs_ktypes fails (due to an out-of-memory condition or an
error re-reading the profile), k5_make_tgs_req will dereference a null
pointer.  Check the return value before dereferencing defenctypes.

[ghudson@mit.edu: clarified commit message]

(cherry picked from commit 81e503c09ad9aef4a0afc6bf66a0269cde2151f3)

ticket: 7952
version_fixed: 1.12.2
status: resolved
src/lib/krb5/krb/send_tgs.c