diff options
author | 2010-05-25 11:10:36 +0530 | |
---|---|---|
committer | 2010-05-27 12:19:02 +0300 | |
commit | 0f3d9a17469d71ba1bab79c07c8eecb9e26e60af (patch) | |
tree | a94a0c4e8a224261b3e2cb6f1329056f80d4e7b2 /lib/bug.c | |
parent | net: fix lock_sock_bh/unlock_sock_bh (diff) | |
download | wireguard-linux-0f3d9a17469d71ba1bab79c07c8eecb9e26e60af.tar.xz wireguard-linux-0f3d9a17469d71ba1bab79c07c8eecb9e26e60af.zip |
vhost: Fix host panic if ioctl called with wrong index
Missed a boundary value check in vhost_set_vring. The host panics if
idx == nvqs is used in ioctl commands in vhost_virtqueue_init.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions