The following commit has been merged in the master branch:
commit df8534909fdc1fa8417aa788c0fa71c5dbe7eb30
Author: Benjamin Kaduk <[email protected]>
Date:   Sat Feb 2 17:02:08 2019 -0600

    scout: band-aid -Wformat-truncation
    
    gcc8 gets pretty confused about the bounds on these things (presumably
    due to our alignment options) and thinks this could potentially be a huge
    string.  Check for truncation to appease the compiler, instead of trying
    to ensure that the buffer is big enough.
    
    Change-Id: I4c1e0e6a5a38ee67845cbb7791b280b965989bc8
    Reviewed-on: https://gerrit.openafs.org/13470
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Tested-by: Michael Meffie <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/scout/scout.c |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to