[krbdev.mit.edu #7807] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Dec 18 17:03:58 EST 2013


Fix krb5_copy_context

krb5_copy_context has been broken since 1.8 (it broke in r22456)
because k5_copy_etypes crashes on null enctype lists.  Subsequent
additions to the context structure were not reflected in
krb5_copy_context, creating double-free bugs.  Make k5_copy_etypes
handle null input and account for all new fields in krb5_copy_context.
Reported by Arran Cudbard-Bell.

https://github.com/krb5/krb5/commit/c452644d91d57d8b05ef396a029e34d0c7a48920
Author: Greg Hudson <ghudson at mit.edu>
Commit: c452644d91d57d8b05ef396a029e34d0c7a48920
Branch: master
 src/lib/krb5/krb/copy_ctx.c   |   15 ++++++++++++++-
 src/lib/krb5/krb/etype_list.c |    2 ++
 2 files changed, 16 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list