diff options
author | 2017-08-03 14:30:27 -0400 | |
---|---|---|
committer | 2017-08-08 10:52:00 -0400 | |
commit | 264b0cdbcb93e6d7b419fcc82fca9413a13f87ae (patch) | |
tree | b156eb629008797dd844322fe3b9a3f259ddc1d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xprtrdma: Refactor rpcrdma_reply_handler() (diff) | |
download | wireguard-linux-264b0cdbcb93e6d7b419fcc82fca9413a13f87ae.tar.xz wireguard-linux-264b0cdbcb93e6d7b419fcc82fca9413a13f87ae.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions