OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-118-g7b1f8cf
Gerrit Code Review
gerrit@openafs.org
Fri, 4 Nov 2011 08:03:45 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 7b1f8cf3780b6a90dedd82c41e27be016486ac74
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Nov 2 10:28:35 2011 -0500
afs: Only use actual connections for GetTime calls
The for() loop that makes an RXAFS_GetTime call in afs_CheckServers
was iterating over conns and rxconns from 0 to j. However, 'j' here is
just the size of the allocated array, whereas 'nconns' is the number
of structures in the array actually initialized. So, just go up to
nconns to avoid using unitialized connections and Rx connections.
This is a 1.6-only change. On master, the -settime code has been
completely removed in change
Id291f5f88b1ad84594706f2a1a02a933dddd0cb9.
Issue reported by Sebastian Hanigk.
Change-Id: Iec782a4464899b5a7e49e193b04f79e31c6b37f2
Reviewed-on: http://gerrit.openafs.org/5788
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs_server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository