OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_15-99-gb6a663f

Gerrit Code Review
Mon, 23 Jul 2012 14:30:21 -0700 (PDT)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 2804437c8ac4ae341b8802c14238415d1eac2fb7
Author: Simon Wilkinson <>
Date:   Mon Jul 16 20:09:04 2012 +0100

    auth: Fix GetTokenEx with NULL cellName
    If GetTokenEx is called with a NULL cellName, it means use the
    local cell. To do this with the legacy interface, a 0 length string
    must be used for the cell instance of the ktc_principal passed to
    GetToken. Fix this so that we do so, rather than attempting to
    strcpy(..., NULL) which never ends well.
    Caught by clang-analyzer
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit 0eca3c1822683ccf1b559eb8e455688c5bdc1fc9)
    Change-Id: Iada3afa508588f17bfad299774cc4fa01ba2e570
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/auth/ktc.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

OpenAFS Master Repository