]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools/kvm/9p: check the iov count with the read/write count
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 19 Jun 2011 09:44:35 +0000 (15:14 +0530)
committerSasha Levin <levinsasha928@gmail.com>
Sun, 19 Jun 2011 21:28:19 +0000 (17:28 -0400)
commit9519954ee80e49221f57ae389636e3b010c4f437
treefe79db516b4e31f81bba70fa4406d3df7757fdf2
parent92b3baf3a61e2b8ffb376a61ff29c328669dccb1
tools/kvm/9p: check the iov count with the read/write count

Make sure we don't read/write more than what is requested
from client.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
tools/kvm/virtio/9p.c