OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre7-42-g4aacd49

Gerrit Code Review gerrit@openafs.org
Fri, 12 Aug 2011 08:52:23 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit f648519f2e7008d81a29113d6ce23158dcd37bcf
Author: Garrett Wollman <wollman@csail.mit.edu>
Date:   Sat Aug 6 23:55:50 2011 -0400

    butc: avoid freeing uninitialized pointer in writeDbDump()
    
    In error conditions, charList could be freed before it is initialized.
    Move the initialization up to before the error checks.
    
    Found-by: clang static analyzer
    Reviewed-on: http://gerrit.openafs.org/5167
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 43834bff1a2b1af348ff69d538a884bf1070b90c)
    
    Change-Id: I05d1602b3f59b521d7daa3fd23f6609bf14c460e
    Reviewed-on: http://gerrit.openafs.org/5224
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/butc/tcudbprocs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository