OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_8_1-59-g80be173

Gerrit Code Review
Thu, 4 Aug 2022 14:06:10 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 80be173ac14d02af725c7ee1db9043ae79e6b535
Author: Cheyenne Wills <>
Date:   Tue May 24 20:14:36 2022 -0600

    vol: Use asprintf in _namei_examine_special
    GCC-12 is flagging an snprintf statement with a format truncation
      namei_ops.c: In function ‘namei_ListAFSSubDirs’:
      namei_ops.c:2029:22: error: ‘%s’ directive output may be truncated
       writing up to 255 bytes into a region of size between 0 and 511
    Change code to use asprintf instead of snprintf.  Return an error if a
    memory allocation fails.
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit ae70db6cde5be5abd3bbbb26bd9af6fe68cc4b6b)
    Change-Id: I742e0210ac35eec7a143a780db4a6047a0a7c3fc
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Stephan Wiesand <>

 src/vol/namei_ops.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

OpenAFS Master Repository