commit | 264b0cdbcb93e6d7b419fcc82fca9413a13f87ae | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Aug 03 14:30:27 2017 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue Aug 08 10:52:00 2017 -0400 |
tree | b156eb629008797dd844322fe3b9a3f259ddc1d0 | |
parent | 07ff2dd510d8c5b1166827df7686036283be10e0 [diff] |
xprtrdma: Replace rpcrdma_count_chunks() Clean up chunk list decoding by using the xdr_stream set up in rpcrdma_reply_handler. This hardens decoding by checking for buffer overflow at every step while unmarshaling variable-length XDR objects. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>