qemu-patch-raspberry4/hw/rdma
Yuval Shaia 350929172b hw/rdma: Fix possible out of bounds access to regs array
Coverity (CID1390589, CID1390608).
Array size is RDMA_BAR1_REGS_SIZE, let's make sure the given address is
in range.

While there also:
1. Adjust the size of this bar to reasonable size
2. Report the size of the array with sizeof(array)

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-6-marcel.apfelbaum@gmail.com>
2018-05-03 20:52:29 +03:00
..
vmw hw/rdma: Fix possible out of bounds access to regs array 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.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_backend_defs.h rdma: fix up include directives 2018-03-23 18:38:55 +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_rm_defs.h hw/rdma: Fix possible out of bounds access to GID table 2018-05-03 20:52:29 +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 hw/rdma: Implementation of generic rdma device layers 2018-02-19 13:03:24 +02:00