commit | 8bcfa178f92a1f7266d86205f9de134fd46f6e1e | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Tue Dec 08 07:51:29 2020 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 06 14:56:55 2021 +0100 |
tree | 72a9c9acf8d49a6e87f5061b23c9bcb6c2d2974d | |
parent | ef3b9ad967d0bdfb4d18dad4e11279fdbd3256fb [diff] |
NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow [ Upstream commit 503b934a752f7e789a5f33217520e0a79f3096ac ] Expanding the READ_PLUS extents can cause the read buffer to overflow. If it does, then don't error, but just exit early. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>