diff options
| author | Marcel Apfelbaum | 2018-04-30 22:02:18 +0200 |
|---|---|---|
| committer | Marcel Apfelbaum | 2018-05-03 19:52:29 +0200 |
| commit | b0197cf80a903aa1e401cc7ebdf8be8bc307297b (patch) | |
| tree | 0272945b6f0dbc5cb45fafc7bd8b12fba9227c6e /scripts | |
| parent | hw/rdma: Fix possible munmap call on a NULL pointer (diff) | |
| download | qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.tar.gz qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.tar.xz qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.zip | |
hw/rdma: Fix possible usage of a NULL pointer
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 <peter.maydell@linaro.org>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Message-Id: <20180430200223.4119-3-marcel.apfelbaum@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
