OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3579-gf322b0f

Gerrit Code Review gerrit@openafs.org
Thu, 7 Mar 2013 07:55:38 -0800 (PST)


The following commit has been merged in the master branch:
commit f322b0ff1ec44d713c23d567f4d304e3dc65e702
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sat Mar 2 10:15:10 2013 +0000

    rmtsys: Don't overflow pathname buffer
    
    When we're constructing a homedirectory path to look for the
    .AFSSERVER file in, we copy the HOME environment variable into a
    static buffer, with a risk of overflowing that buffer.
    
    Instead of using a static buffer, just allocate one with asprintf.
    
    Caught by coverity (#985910)
    
    Change-Id: I2daa5613609f2c09712b12a7ce7e59b1c0028ef2
    Reviewed-on: http://gerrit.openafs.org/9392
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/sys/rmtsysc.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository