diff options
author | Marcel Apfelbaum <marcel.apfelbaum@gmail.com> | 2018-04-30 23:02:18 +0300 |
---|---|---|
committer | Marcel Apfelbaum <marcel.apfelbaum@gmail.com> | 2018-05-03 20:52:29 +0300 |
commit | b0197cf80a903aa1e401cc7ebdf8be8bc307297b (patch) | |
tree | 0272945b6f0dbc5cb45fafc7bd8b12fba9227c6e /ui/vnc-enc-tight.h | |
parent | 1bad4957c8c4d5367961cb3d5287b2f25a1d6847 (diff) | |
download | qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.zip qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.tar.gz qemu-b0197cf80a903aa1e401cc7ebdf8be8bc307297b.tar.bz2 |
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 'ui/vnc-enc-tight.h')
0 files changed, 0 insertions, 0 deletions