]> 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)
commit2b24d7043a7df506442e524affe4ffbfb3aa72ee
tree85ebbff5baf8324fc653747813e5b5d4a9c12e51
parent71147205c3e9ba7134a3ea7c2ebcd45d29011840
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