OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_8_1-46-g07704dc

Gerrit Code Review
Thu, 4 Aug 2022 13:01:03 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 07704dc7b4a58a05e921d374302a3026fa95a44e
Author: Michael Meffie <>
Date:   Mon Aug 23 15:42:52 2021 -0400

    libadmin: Fix isAlias may be uninitialized warning
    The cfgutil_HostNameIsAlias() function has an output parameter called
    isAlias, which is used when cfgutil_HostIsAlias() returns non-zero.
    However, it possible for isAlias to not be set before returning. GCC 12
    issues a warning about the possible use of the uninitialized isAlias
        cfginternal.c:366:32: error: ‘isAlias’ may be used uninitialized
    Initialize the cfgutil_HostNameIsAlias() isAlias output flag to false.
    Also, fix the misleading code indentation around the
    cfgutil_HostNameIsAlias() call.
    Reviewed-by: Cheyenne Wills <>
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit 4a8d0c4089078fb3df9cc06b595c80c9b4c2ca7f)
    Change-Id: I4cadcb4380962e47213fcfd310c1cac331100f65
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Mark Vitale <>
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Marcio Brito Barbosa <>
    Reviewed-by: Stephan Wiesand <>

 src/libadmin/cfg/cfginternal.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

OpenAFS Master Repository