]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Dec 2020 12:51:29 +0000 (07:51 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:08 +0000 (06:51 -0500)
commitfdcdc630918256e1980adb2e899a3ffb250f3299
treee7d5ee241d2ef4c7b9c86381f6a293ad35bda0d4
parent1f58052231a663cd07249c668317b17229cc2e9b
NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow

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>
fs/nfs/nfs42xdr.c