diff options
author | Scott Mayhew <smayhew@redhat.com> | 2024-09-09 16:28:54 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-09-20 19:31:35 -0400 |
commit | 5559c157b79907a901578f93f83eb6732bfcbc1a (patch) | |
tree | 793c6e873815dd8ca59506680a34a50f099a0edc /drivers/pci/controller/dwc/pcie-qcom-common.c | |
parent | 22451a16b7ab7debefce660672566be887db1637 (diff) |
nfsd: enforce upper limit for namelen in __cld_pipe_inprogress_downcall()
This patch is intended to go on top of "nfsd: return -EINVAL when
namelen is 0" from Li Lingfeng. Li's patch checks for 0, but we should
be enforcing an upper bound as well.
Note that if nfsdcld somehow gets an id > NFS4_OPAQUE_LIMIT in its
database, it'll truncate it to NFS4_OPAQUE_LIMIT when it does the
downcall anyway.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions