aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost.c
diff options
context:
space:
mode:
authorRoman Kagan <rvkagan@yandex-team.ru>2021-11-11 18:33:49 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-01-07 05:19:55 -0500
commit6dcae534e82520aa2280009de4b78a19059e8bbb (patch)
tree8e6368088cfc00562940ceed16dd1794edccd7f2 /hw/virtio/vhost.c
parent666265036fec3fd3eed2d55ae828c915a084a1d6 (diff)
downloadqemu-6dcae534e82520aa2280009de4b78a19059e8bbb.zip
qemu-6dcae534e82520aa2280009de4b78a19059e8bbb.tar.gz
qemu-6dcae534e82520aa2280009de4b78a19059e8bbb.tar.bz2
vhost-backend: avoid overflow on memslots_limit
Fix the (hypothetical) potential problem when the value parsed out of the vhost module parameter in sysfs overflows the return value from vhost_kernel_memslots_limit. Signed-off-by: Roman Kagan <rvkagan@yandex-team.ru> Message-Id: <20211111153354.18807-6-rvkagan@yandex-team.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost.c')
0 files changed, 0 insertions, 0 deletions