Home
last modified time | relevance | path

Searched hist:"43 c1031f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dnfs4xdr.c43c1031f Tue Oct 18 17:21:14 CDT 2022 Trond Myklebust <trond.myklebust@hammerspace.com> NFSv4.2: Fix a memory stomp in decode_attr_security_label

We must not change the value of label->len if it is zero, since that
indicates we stored a label.

Fixes: b4487b935452 ("nfs: Fix getxattr kernel panic and memory overflow")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>