OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_15-99-gb6a663f
Gerrit Code Review
gerrit@openafs.org
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 <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
Reviewed-on: http://gerrit.openafs.org/7840
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 0eca3c1822683ccf1b559eb8e455688c5bdc1fc9)
Change-Id: Iada3afa508588f17bfad299774cc4fa01ba2e570
Reviewed-on: http://gerrit.openafs.org/7845
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/auth/ktc.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository