OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_15-20-g3ce1880

Gerrit Code Review
Fri, 6 Nov 2015 07:32:16 -0500

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 3ce1880c08663e07e0b2817c83c011ca7c250bf2
Author: Benjamin Kaduk <>
Date:   Wed Sep 17 12:07:02 2014 -0400

    Fix disk name initialization in scout
    Scout needs to initialize names in scout_disk structures to prevent
    the use of uninitialized data.  However, '\0' is a NUL character
    constant, i.e., the integer value 0, which is interpreted as NULL
    (the pointer constant) in a pointer context, such as when assigned to
    a variable of type char*.  Since the name field in these structs is
    passed to printing routines, the safe initialization value is the
    empty string constant "", not a zero value.
    Tested-by: BuildBot <>
    Reviewed-by: Chas Williams - CONTRACTOR <>
    Reviewed-by: Perry Ruiter <>
    Reviewed-by: Jeffrey Altman <>
    (cherry picked from commit 57ca77786eb6c04519f9358f1456fdf5b8006757)
    Change-Id: I970e19c698cc26255cd244671908a631ef959c30
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Stephan Wiesand <>

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

OpenAFS Master Repository