OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1406-g45025e9
Gerrit Code Review
gerrit@openafs.org
Sat, 16 Jul 2011 22:02:18 -0700 (PDT)
The following commit has been merged in the master branch:
commit 45025e949bba0244d51e406b9105fb14bcba902d
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Thu Jul 14 12:02:21 2011 -0400
audit: remove uneeded strncpy
In this caller to krb_realms, when no realms names are returned the
number of local realms is correctly set to zero, however the first
local realm buffer is filled with a placeholder string which is
not used. Remove the uneeded strncpy, which also makes this
section of code consistent with afs_is_foreign_ticket().
This section of code is duplicated by afs_is_foreign_ticket() and
should be consolidated in a subsequent patch.
Change-Id: I48f84934e7321769eebaf80c83b2c100fd026a6a
Reviewed-on: http://gerrit.openafs.org/5020
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/audit/audit.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository