]> Git Repo - linux.git/commit
xprtrdma: Harden chunk list encoding against send buffer overflow
authorChuck Lever <[email protected]>
Thu, 10 Aug 2017 16:47:36 +0000 (12:47 -0400)
committerAnna Schumaker <[email protected]>
Fri, 11 Aug 2017 17:20:08 +0000 (13:20 -0400)
commit39f4cd9e9982f97a52033579bf996bb74c644c08
tree961c6aff0ef3ed32bd58afca4bb3520b712c8d33
parent7a80f3f0ddf1d7814ac44728f56b6fbba5837703
xprtrdma: Harden chunk list encoding against send buffer overflow

While marshaling chunk lists which are variable-length XDR objects,
check for XDR buffer overflow at every step. Measurements show no
significant changes in CPU utilization.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
net/sunrpc/xprtrdma/rpc_rdma.c
This page took 0.04983 seconds and 4 git commands to generate.