OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1486-g619b420
Gerrit Code Review
gerrit@openafs.org
Sun, 7 Aug 2011 08:55:48 -0700 (PDT)
The following commit has been merged in the master branch:
commit 619b420903c99e48618db0d2f12085111573f279
Author: Garrett Wollman <wollman@csail.mit.edu>
Date: Sat Aug 6 23:15:14 2011 -0400
vos: don't free stack garbage on error
If wantExtendedInfo is true, then pntr is used uninitialized.
In the other case, UV_ListVolumes will have set it to NULL
before doing anything (even if it returns an error), so this
free() is dead anyway.
Change-Id: I6979a69d33ecbbdb906eb9a075bbf13180e36646
Found-by: clang static analyzer
Reviewed-on: http://gerrit.openafs.org/5164
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/volser/vos.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository