OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_3-46-ga6ee134

Gerrit Code Review gerrit@openafs.org
Fri, 9 Aug 2019 11:00:23 -0400


The following commit has been merged in the openafs-stable-1_8_x branch:
commit a6ee134f7f5da47022145bdb4a8bceff08414465
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Fri Jul 5 08:23:10 2019 -0600

    libadmin: overlap warning in strcpy with gcc9
    
    GCC 9 with --enable-checking produces a new warning/error in
    afs_utilAdmin.c associated with a strcpy with the potential of an
    overlap.  The index used is signed which triggers the new warning. The
    source and target of the strcpy are contained within the same higher
    level structure.
    
    Change the variable 'index' from signed to unsigned to resolve the
    warning/error. Change the variable 'total' in the same structure to
    unsigned to be consistent with it's usage with 'index'.
    
    Reviewed-on: https://gerrit.openafs.org/13660
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit 79dffe29c8a0ec55c4231a18077efdfa7c1edf53)
    
    Change-Id: I19a192ecea86314851e6889274eb030c5caff8cb
    Reviewed-on: https://gerrit.openafs.org/13724
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/libadmin/adminutil/afs_utilAdmin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository