Commit ef93a685 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()



The function needs to check the minimal filehandle length before it can
access the embedded filehandle.

Reported-by: default avatarzhangjian <zhangjian496@huawei.com>
Fixes: 20fa1902 ("nfs: add export operations")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent f66e6bff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment