OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_5-88-g47fb583

Gerrit Code Review gerrit@openafs.org
Tue, 24 Sep 2013 11:28:03 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 47fb5837820e0dcf46c0c19a15b81848e75be3aa
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Fri Mar 30 19:16:50 2012 +0100

    libadmin: Clear structures according to their size.
    
    memset(a, 0, sizeof(a)) is rarely correct, unless a is an error. Use the
    size of the destination structure, rather than the size of a pointer to it
    when deciding how much memory to clear.
    
    Caught by clang's new error messages
    
    Reviewed-on: http://gerrit.openafs.org/7076
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>
    (cherry picked from commit 34afb3e6b903fc1659b1c869fa2fb4226038e076)
    
    Change-Id: I06912a70af9f3cd54f4a5368e996a7308e687c20
    Reviewed-on: http://gerrit.openafs.org/10243
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/libadmin/vos/afs_vosAdmin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository