diff options
author | Prasad J Pandit | 2017-11-16 08:51:55 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2018-01-29 09:30:25 +0100 |
commit | 802cbcb73002b92e6ddc8464d39b668a71b78d74 (patch) | |
tree | d41d5087948347becb6df7b634445c0fa32c5a71 /ui/egl-helpers.c | |
parent | input: virtio: don't send mouse wheel event twice (diff) | |
download | qemu-802cbcb73002b92e6ddc8464d39b668a71b78d74.tar.gz qemu-802cbcb73002b92e6ddc8464d39b668a71b78d74.tar.xz qemu-802cbcb73002b92e6ddc8464d39b668a71b78d74.zip |
ps2: check PS2Queue pointers in post_load routine
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
Reported-by: Cyrille Chatras <cyrille.chatras@orange.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20171116075155.22378-1-ppandit@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/egl-helpers.c')
0 files changed, 0 insertions, 0 deletions