aboutsummaryrefslogtreecommitdiff
path: root/ui/trace-events
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2018-12-13 01:00:39 +0530
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2018-12-22 11:09:57 +0200
commitf1e2e38ee0136b7710a2caa347049818afd57a1b (patch)
tree49042b31975582c51c2e6691c120c78575d1a85e /ui/trace-events
parent7be3a21325e95e3f0bb46d1a67d5fc702b24701f (diff)
downloadqemu-f1e2e38ee0136b7710a2caa347049818afd57a1b.zip
qemu-f1e2e38ee0136b7710a2caa347049818afd57a1b.tar.gz
qemu-f1e2e38ee0136b7710a2caa347049818afd57a1b.tar.bz2
pvrdma: check return value from pvrdma_idx_ring_has_ routines
pvrdma_idx_ring_has_[data/space] routines also return invalid index PVRDMA_INVALID_IDX[=-1], if ring has no data/space. Check return value from these routines to avoid plausible infinite loops. Reported-by: Li Qiang <liq3ea@163.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'ui/trace-events')
0 files changed, 0 insertions, 0 deletions