OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4326-g64da7c1

Gerrit Code Review
Wed, 13 Aug 2014 11:24:21 -0400

The following commit has been merged in the master branch:
commit 64da7c133a66a15233c2cdc5d9a8f71d17d80d77
Author: Benjamin Kaduk <>
Date:   Thu Jul 24 09:40:21 2014 -0400

    Make kernel hcrypto calloc return zeroed memory
    As far as I can tell, the afs_osi_Alloc contract does not
    guarantee zeroed memory.  On FreeBSD, with a debug kernel, it
    definitely does not currently provide zeroed memory, returning
    instead memory initialized with 0xdeadc0de.
    Properly speaking, the role of calloc() is to both check for overflow
    from the multiplication and to produce zeroed memory.  However, since
    we do not have a reasonable way to report failure, do not bother
    checking for overflow at this time.
    Change-Id: I187c2057d473fba869692c1dfa11735502b260c1
    Tested-by: BuildBot <>
    Reviewed-by: Chas Williams - CONTRACTOR <>
    Reviewed-by: Jeffrey Altman <>

 src/crypto/hcrypto/kernel/alloc.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

OpenAFS Master Repository