OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3528-gddc3704

Gerrit Code Review gerrit@openafs.org
Wed, 27 Feb 2013 12:38:28 -0800 (PST)


The following commit has been merged in the master branch:
commit ddc37043351056c402158610477312f0d7d01c13
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Tue Feb 26 21:28:52 2013 +0000

    volser: Fix bad readlink usage
    
    readlink fills the buffer passed to it with a non-terminated string.
    It can legitimately fill the whole of this buffer. So, if we require
    a string to be NUL terminated, we must give readlink one less than
    the string length so that the termination character can be safely
    appended.
    
    Caught by coverity (#985611)
    
    Change-Id: Ie6c651a9c0fd94d83bd05395204341d71e353146
    Reviewed-on: http://gerrit.openafs.org/9290
    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/volser/restorevol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository