Re: [Qemu-devel] [PATCH 2/7] hw/rdma: Fix possible usage of a NULL pointer

2018-04-30 Thread Philippe Mathieu-Daudé
On 04/30/2018 05:02 PM, Marcel Apfelbaum wrote: > Coverity CID 1390586; The cq handle is provided by the guest > and cannot be trusted to be previuosly allocated. > Fix it by exiting the completion flow. > > Reported-by: Peter Maydell > Signed-off-by: Marcel Apfelbaum > Reviewed-by: Yuval Shaia

[Qemu-devel] [PATCH 2/7] hw/rdma: Fix possible usage of a NULL pointer

2018-04-30 Thread Marcel Apfelbaum
Coverity CID 1390586; The cq handle is provided by the guest and cannot be trusted to be previuosly allocated. Fix it by exiting the completion flow. Reported-by: Peter Maydell Signed-off-by: Marcel Apfelbaum Reviewed-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_qp_ops.c | 1 + 1 file changed, 1 ins