The following commit has been merged in the openafs-stable-1_8_x branch:
commit f7625760d515a4954596526e78b9a8c2a9e9ec13
Author: Stephan Wiesand <[email protected]>
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 <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit e2890626bc11964dd96cde0d7d8dd7fdfcf90857)
    
    Change-Id: I213ea7e23e01e7902919919581ad1d8e596303a2
    Reviewed-on: https://gerrit.openafs.org/15292
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

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

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to