qemu-e2k/hw/rdma
Yuval Shaia c387e8a4ec hw/rdma: Fix possible out of bounds access to GID table
Array size is MAX_PORT_GIDS, let's make sure the given index is in
range.

While there limit device table size to 1.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-Id: <20180430200223.4119-5-marcel.apfelbaum@gmail.com>
2018-05-03 20:52:29 +03:00
..
vmw hw/rdma: Fix possible out of bounds access to GID table 2018-05-03 20:52:29 +03:00
Makefile.objs hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00
rdma_backend_defs.h rdma: fix up include directives 2018-03-23 18:38:55 +03:00
rdma_backend.c hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
rdma_backend.h hw/rdma: Change host_virt to void * 2018-03-23 18:38:55 +03:00
rdma_rm_defs.h hw/rdma: Fix possible out of bounds access to GID table 2018-05-03 20:52:29 +03:00
rdma_rm.c hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
rdma_rm.h rdma: fix up include directives 2018-03-23 18:38:55 +03:00
rdma_utils.c hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
rdma_utils.h rdma: fix up include directives 2018-03-23 18:38:55 +03:00
trace-events