OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_8-34-ga5b4025

Gerrit Code Review
Tue, 3 Jun 2014 12:39:19 -0400

The following commit has been merged in the openafs-stable-1_6_x branch:
commit a5b40254de63ade492da9508b7d0218a7fe07f30
Author: Simon Wilkinson <>
Date:   Sat Mar 2 09:59:20 2013 +0000

    auth: Don't overflow hostName array
    afsconf_cell's hostName structure is a fixed length. Don't overflow
    it by writing whatever comes back from gethostbyaddr into it. Use
    strlcpy to catch an overflow, and if one occurs, just use
    "UNKNOWNHOST", rather than a truncated host name.
    Caught by coverity (#985906)
    Reviewed-by: Derrick Brashear <>
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    (cherry picked from commit fed5dac9f25f7fbd74b6834ce6f087eaf31be2f2)
    Change-Id: I468f66585e19623d62dee8730141767bd050ed1d
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Chas Williams - CONTRACTOR <>
    Reviewed-by: Stephan Wiesand <>

 src/auth/writeconfig.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

OpenAFS Master Repository