OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-330-g32d6f81

Gerrit Code Review gerrit@openafs.org
Tue, 21 Oct 2025 16:09:46 -0400


The following commit has been merged in the master branch:
commit 32d6f81db7f11ce40aca28b15dd053e4122470e1
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Wed Sep 17 06:12:26 2025 -0400

    bos: Check util_GetInt32 return code in bos setrestrict
    
    The `bos setrestrict -mode` option value is converted to an integer from
    the input string with the util_GetInt32() function, but the return code
    is not checked. Change SetRestrict() to print an error message and exit
    if util_GetInt32() returns an error, so we don't send 4 bytes of
    uninitialized data to the bosserver when we're given a bad -mode value.
    
    Change-Id: I5891698d1371f8a94bc39eaf0b49e28ce7b4ec84
    Reviewed-on: https://gerrit.openafs.org/16551
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>

 src/bozo/bos.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
OpenAFS Master Repository