[krbdev.mit.edu #8425] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Wed Jun 22 13:14:07 EDT 2016
Fix and simplify auth-indicator authdata module
Remove the authind_context count field. The indicators list must be
null-terminated because it is freed with k5_free_data_ptr_list().
authind_internalize() didn't null-terminate the list, and the presence
of the count field made it appear that this wasn't a bug. Use a
different scheme for setting *more in authind_get_attribute() to avoid
requiring an element count.
Also check more thoroughly for errors in authind_externalize() and
authind_internalize(), and remove some unnecessary pointer casts.
https://github.com/krb5/krb5/commit/0b741b1ee4005a68aee76616642a91ba85042f05
Author: Greg Hudson <ghudson at mit.edu>
Commit: 0b741b1ee4005a68aee76616642a91ba85042f05
Branch: master
src/lib/krb5/krb/ai_authdata.c | 73 ++++++++++++++++++++-------------------
1 files changed, 37 insertions(+), 36 deletions(-)
More information about the krb5-bugs
mailing list