]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Verify size of route_len
authorSean Hefty <sean.hefty@intel.com>
Wed, 28 Sep 2011 06:22:21 +0000 (23:22 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 29 Sep 2011 21:17:15 +0000 (14:17 -0700)
commitb17cbf0636dc8bbe786c2055405e23104b513887
tree5e0d04e40eba99d1fa2e94694da899ef5b0a814d
parent20cf9c7bff72c5c0ac1ec7c99dadb7e095875bc6
librdmacm: Verify size of route_len

If the user specifies route information on input to rdma_getaddrinfo,
verify that the size of the routing data is something that we're
prepared to handle.

The routing data is only useful if IB ACM is enabled and may be
either struct ibv_path_record or struct ibv_path_data on input.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
man/rdma_getaddrinfo.3
src/acm.c