OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_2-32-g232bd12

Gerrit Code Review gerrit@openafs.org
Sun, 3 Feb 2019 09:01:36 -0500


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 232bd12b070e1fbeb173e31251e65e63a0d1f959
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Aug 7 17:27:24 2018 -0500

    Avoid format truncation warnings
    
    With gcc 7.3, we start getting several warnings like the following:
    
    vutil.c: In function ‘VWalkVolumeHeaders’:
    vutil.c:860:34: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 63 [-Werror=format-truncation=]
          snprintf(name, VMAXPATHLEN, "%s" OS_DIRSEP "%s", partpath, dentry->d_name);
    
    Most or all of these truncations should be okay, but increase the size
    of the relevant buffers so we can build with warning checking turned
    on.
    
    Reviewed-on: https://gerrit.openafs.org/13274
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 2daa413e3ec061e0653adbd1d6549f15e0659a62)
    
    Change-Id: I61ae1ddae4b2d84147198a1dccb280d0da100a0b
    Reviewed-on: https://gerrit.openafs.org/13459
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/aklog/klog.c        |    2 +-
 src/vol/voldefs.h       |    2 +-
 src/volser/restorevol.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository