The following commit has been merged in the master branch:
commit e2890626bc11964dd96cde0d7d8dd7fdfcf90857
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().
    
    Change-Id: I134550d5f9b6d5a9aa5c360e260335d2efce884a
    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]>

 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