]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Sanity check the parameters in nfs41_update_target_slotid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 7 Nov 2021 14:15:44 +0000 (09:15 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 7 Nov 2021 14:23:14 +0000 (09:23 -0500)
commit2d78e7828caef90398a5af21f7fa53f88262ee2d
tree85ebbff5baf8324fc653747813e5b5d4a9c12e51
parent418f08c383e05baa0238a22db6a6b1b8c30e62c8
NFSv4: Sanity check the parameters in nfs41_update_target_slotid()

Ensure that the values supplied by the server do not exceed the size of
the largest allowed slot table.

Reported-by: <rtm@csail.mit.edu>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h