OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_9-51-gf762576

Gerrit Code Review gerrit@openafs.org
Thu, 26 Jan 2023 08:11:19 -0500


The following commit has been merged in the openafs-stable-1_8_x branch:
commit f7625760d515a4954596526e78b9a8c2a9e9ec13
Author: Stephan Wiesand <stephan.wiesand@desy.de>
Date:   Wed Jan 18 14:18:08 2023 +0100

    afs: check for non-NULL before memset in afs_LookupName
    
    Commit 981bc005f8161ca9ee52ea281c7d73e0e4e2461a refactored PNewStatMount
    and PFlushMount by moving their common logic to a new function
    afs_LookupName(). In this function, the output parameters are zeroed.
    However, this is done before checking that their pointers are valid.
    Add additional checks before memset().
    
    Reviewed-on: https://gerrit.openafs.org/15283
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit e2890626bc11964dd96cde0d7d8dd7fdfcf90857)
    
    Change-Id: I213ea7e23e01e7902919919581ad1d8e596303a2
    Reviewed-on: https://gerrit.openafs.org/15292
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/afs_pioctl.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository