The following commit has been merged in the master branch:
commit fb67a8d4ef62387f8ed7d1ffc373a07475e70588
Author: Jeffrey Altman <[email protected]>
Date:   Wed Jun 11 19:37:34 2014 -0400

    viced: move host tmay fields before index
    
    The index field and those after it in struct host do not get zeroed
    when a host is reused.  The placement of the tmay fields after index
    in commit 9a0a8ca4d186cf953b87d9fae1a35f66090b060c results in the
    use of uninitialized memory.
    
    This change moves the tmay fields before index which permits
    the HOST_TO_ZERO() macro to compute the correct size to be memset()
    to zero.
    
    Change-Id: I1f93bebb23c99eaa7826dafa8cd7497d1b49bb53
    Reviewed-on: http://gerrit.openafs.org/11286
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: D Brashear <[email protected]>

 src/viced/host.h |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to