OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-308-g26b1dc0

Gerrit Code Review
Mon, 4 Feb 2019 00:03:17 -0500

The following commit has been merged in the master branch:
commit 26b1dc036719a588a5cadecb14053bd4079c1f48
Author: Andrew Deason <>
Date:   Fri Feb 1 16:31:50 2019 -0600

    Avoid calling krb5_free_context(NULL)
    Several places in the code currently call krb5_free_context(ctx) in a
    cleanup code path, where 'ctx' may or may not be NULL. This is not
    guaranteed to be okay, so check for NULL to make sure we don't cause
    issues in these code paths.
    While we are here cleaning up krb5_free_context() calls, also fix a
    few call sites in afscp_util.c that were not calling krb5_free_context
    in all error paths.
    Change-Id: I881f01bdf94f00079f84c4bd4bcfa58998e51ac9
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>

 src/aklog/aklog.c              |    7 ++++---
 src/libafscp/afscp_util.c      |    9 +++++----
 src/rxgk/rxgk_crypto_rfc3961.c |   36 +++++++++++++++++++++++++++---------
 src/rxkad/ticket5.c            |    4 +++-
 4 files changed, 39 insertions(+), 17 deletions(-)

OpenAFS Master Repository