OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_2-19-g19e4270

Gerrit Code Review gerrit@openafs.org
Fri, 22 Mar 2013 05:54:02 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 19e427070fd14447658777cc572aab75f8fdc949
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Tue Feb 26 12:21:59 2013 +0000

    ubik: Zero header before writing to disk
    
    The ubik disk header contains a padding field, which is never
    zeroed before being written out to disk. This means that there is
    a shorts worth of stack garbage in every ubik label!
    
    Just zero the whole structure with memset before we populate it.
    
    Caught by coverity (#986011)
    
    Reviewed-on: http://gerrit.openafs.org/9272
    Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit d8fa251a14e9469fb6ec722d100b6a8557248694)
    
    Change-Id: I1d3baf4ced6583f22458155edcc16344acc5757e
    Reviewed-on: http://gerrit.openafs.org/9357
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/ubik/phys.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository