Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFSv4.2: Fix a memory stomp in decode_attr_security_label
[ Upstream commit 43c1031 ] We must not change the value of label->len if it is zero, since that indicates we stored a label. Fixes: b4487b9 ("nfs: Fix getxattr kernel panic and memory overflow") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information