diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-06-01 12:46:52 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-06-02 13:05:58 -0400 |
commit | f012e95b377c73c0283f009823c633104dedb337 (patch) | |
tree | 00852c3bb9488472f8ac2aca2afb8a9d01399e98 /net/hsr | |
parent | b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01 (diff) |
SUNRPC: Trap RDMA segment overflows
Prevent svc_rdma_build_writes() from walking off the end of a Write
chunk's segment array. Caught with KASAN.
The test that this fix replaces is invalid, and might have been left
over from an earlier prototype of the PCL work.
Fixes: 7a1cbfa18059 ("svcrdma: Use parsed chunk lists to construct RDMA Writes")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions