From: | ghudson@mit.edu |
Subject: | git commit |
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]
https://github.com/krb5/krb5/commit/81e503c09ad9aef4a0afc6bf66a0269cde2151f3
Author: Neng Xue <xnsuda@yahoo.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 81e503c09ad9aef4a0afc6bf66a0269cde2151f3
Branch: master
src/lib/krb5/krb/send_tgs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)