The following commit has been merged in the master branch:
commit cba7c62f56f2a98b843fe6f83e22bc03f832e9aa
Author: Andrew Deason <[email protected]>
Date:   Mon Jul 15 17:51:41 2019 -0500

    afs: Check for invalid afs_fakestat_enable values
    
    The only valid values for afs_fakestat_enable right now are 0, 1, and
    2. Check if the given value actually matches one of those, in case we
    have mismatched libafs/afsd versions, and future code adds new values.
    
    Return EINVAL and log a message if we're given an unknown value.
    
    Change-Id: I36ad4263e7e3ab311f6edb97a9c48edc035f6753
    Reviewed-on: https://gerrit.openafs.org/13698
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/afs/afs_call.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

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

Reply via email to