RDMA/cma: Check for NULL conn_param in rdma_accept
authorHefty, Sean <sean.hefty@intel.com>
Thu, 6 Oct 2011 16:33:04 +0000 (09:33 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 6 Oct 2011 16:33:04 +0000 (09:33 -0700)
Check that conn_param is not null before dereferencing it when
processing rdma_accept().  This is necessary to prevent a possible
system crash, which can be caused by user space.

Problem found by code inspection.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found