summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorMarcel Apfelbaum2018-04-30 22:02:18 +0200
committerMarcel Apfelbaum2018-05-03 19:52:29 +0200
commitb0197cf80a903aa1e401cc7ebdf8be8bc307297b (patch)
tree0272945b6f0dbc5cb45fafc7bd8b12fba9227c6e /scripts/qapi/types.py
parenthw/rdma: Fix possible munmap call on a NULL pointer (diff)
downloadqemu-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/qapi/types.py')
0 files changed, 0 insertions, 0 deletions