OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_8-47-g7eb63cd

Gerrit Code Review gerrit@openafs.org
Tue, 3 Jun 2014 12:51:30 -0400


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 7eb63cd21ee57312ca71930d59f49177d80f4f2a
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sat Mar 2 10:27:47 2013 +0000

    util: Avoid overflow in GetNameByINet
    
    We copy the results of gethostbyaddr into a fixed length buffer
    without checking whether they fit. Add a length check, and use
    strlcpy to do the copy to make sure we can't overflow.
    
    Caught by coverity (#985912, #985872)
    
    Reviewed-on: http://gerrit.openafs.org/9393
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit fcb7974b838c2b37a8b81b88b11905c6ece398f6)
    
    Change-Id: I2d7f781c159999e721504cd6eec408db93bb703c
    Reviewed-on: http://gerrit.openafs.org/11056
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

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

-- 
OpenAFS Master Repository