OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2754-g0eca3c1

Gerrit Code Review gerrit@openafs.org
Mon, 23 Jul 2012 09:27:35 -0700 (PDT)


The following commit has been merged in the master branch:
commit 0eca3c1822683ccf1b559eb8e455688c5bdc1fc9
Author: Simon Wilkinson <sxw@your-file-system.com>
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
    
    Change-Id: I53d9bdf0fc280ee073a2fb7693659269df29c2eb
    Reviewed-on: http://gerrit.openafs.org/7840
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>

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

-- 
OpenAFS Master Repository