OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_5-22-gd5c2f53

Gerrit Code Review
Sun, 26 Jan 2020 07:06:38 -0500

The following commit has been merged in the openafs-stable-1_8_x branch:
commit d5c2f53e9488311b294d871894967f78949699b6
Author: Cheyenne Wills <>
Date:   Tue Jul 2 16:58:28 2019 -0600

    ptserver: testpt.c format-overflow warning
    GCC 9 introduced new warnings/errors and is flagging a sprintf with a
    format-overflow warning.  With --checking-enabled, this error is causing
    testpt.c to fail during compile.
    Change the buffer size from 16 bytes to PR_MAXNAMELEN+1 and use snprintf
    instead of sprintf. Generate an error message and exit if snprintf
    truncates the string.
    Reviewed-by: Cheyenne Wills <>
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit 4a57cc54dfb6789a86ee735360ee44209c1a901a)
    Change-Id: I2f8012e7fb4384f3ad877d2c9beb5f00b03716b8
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Marcio Brito Barbosa <>
    Reviewed-by: Michael Meffie <>
    Tested-by: BuildBot <>
    Reviewed-by: Stephan Wiesand <>

 src/ptserver/testpt.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

OpenAFS Master Repository