Re: [PATCH] librdmacm: Avoid crash if rdma_disconnect() is called incorrectly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 07, 2018 at 12:27:24PM -0400, Andrew Boyer wrote:
> If the cm_id is not connected, id->verbs will be NULL. Check the
> pointer before dereferencing it.
> 
> Signed-off-by: Andrew Boyer <andrew.boyer@xxxxxxxx>
> ---
>  librdmacm/cma.c | 3 +++
>  1 file changed, 3 insertions(+)

applied thanks.. I wonder if there are more cases like this?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux