OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2332-g20265dd
Gerrit Code Review
gerrit@openafs.org
Sun, 8 Apr 2012 18:20:28 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6c1a7e68c4859573f636dec9b7e4b2ac1f5bb8a4
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 31 11:51:19 2012 -0400
vol: Don't return an uninited val from LookupNode
If the SalvageHashTable for a particular node is empty, then LookupNode
can return an uninitialised value to the caller. It isn't clear from a
broader code inspection whether LookupNode can ever be called with an
empty SalvageHashTable, but returning a NULL vsp does seem like the
correct thing to do in this situation.
Caught by clang-analyzer
Change-Id: Ibee79e6acf7d3bdbc2995ef924338ade4de77d08
Reviewed-on: http://gerrit.openafs.org/7094
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/vol/salvsync-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository