Skip Menu |

Subject: git commit

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.

(back ported from commit c452644d91d57d8b05ef396a029e34d0c7a48920)
Author: Tom Yu <>
Commit: 3befd466d452870235a4474300e08b26bd214502
Branch: krb5-1.11
src/lib/krb5/krb/copy_ctx.c | 12 ++++++++++++
src/lib/krb5/krb/etype_list.c | 2 ++
2 files changed, 14 insertions(+), 0 deletions(-)
Subject: git commit

Add a test program for krb5_copy_context

This test program isn't completely proof against the kind of mistakes
we've made with krb5_copy_context in the past, but it at least
exercises krb5_copy_context and can detect some kinds of bugs.

(back ported from commit b78c3c8c5025aec870d20472f80d4a652062f921)
Author: Tom Yu <>
Commit: 693486d781fcbfcd95da3a6c2d7d2b048bdc54ac
Branch: krb5-1.11
.gitignore | 1 +
src/lib/krb5/krb/ | 9 ++-
src/lib/krb5/krb/t_copy_context.c | 162 +++++++++++++++++++++++++++++++++++++
3 files changed, 171 insertions(+), 1 deletions(-)
Subject: git commit

Fix typo that broke 'make clean'

Missing $

(cherry picked from commit 28633f186a943721b6948875ca85a4a34bc87da4)
Author: Tom Yu <>
Commit: fcf682e551db6d93858310012d177ce22fe91e39
Branch: krb5-1.11
src/lib/krb5/krb/ | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)