mbox series

[0/7] hw/rdma: coverity fixes

Message ID 20180430200223.4119-1-marcel.apfelbaum@gmail.com
Headers show
Series hw/rdma: coverity fixes | expand

Message

Marcel Apfelbaum April 30, 2018, 8:02 p.m. UTC
From: Marcel Apfelbaum <marcel@redhat.com>

Various fixes that were found by coverity. (run by Peter, thanks!)

Thanks,
Marcel

Marcel Apfelbaum (3):
  hw/rdma: Fix possible munmap call on a NULL pointer
  hw/rdma: Fix possible usage of a NULL pointer
  hw/rdma: Fix possible out of bounds access to port GID index

Yuval Shaia (4):
  hw/rdma: Delete port's pkey table
  hw/rdma: Fix possible out of bounds access to GID table
  hw/rdma: Fix possible out of bounds access to regs array
  hw/rdma: Delete duplicate definition of MAX_RM_TBL_NAME

 hw/rdma/rdma_backend.c      |  2 +-
 hw/rdma/rdma_rm.c           |  2 --
 hw/rdma/rdma_rm_defs.h      |  9 ++++-----
 hw/rdma/vmw/pvrdma.h        |  6 +++---
 hw/rdma/vmw/pvrdma_cmd.c    | 10 +++++++---
 hw/rdma/vmw/pvrdma_main.c   | 19 ++-----------------
 hw/rdma/vmw/pvrdma_qp_ops.c |  1 +
 7 files changed, 18 insertions(+), 31 deletions(-)