]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall.c
linux-user: Perform more checks on iovec lists
authorRichard Henderson <rth@twiddle.net>
Sat, 15 Sep 2012 20:20:25 +0000 (13:20 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 12 Oct 2012 10:59:09 +0000 (13:59 +0300)
commitf287b2c2d4d20d35880ab6dca44bda0476e67dce
tree84eecc0a49b076ee7cfc011524a86d3caf3e2b9c
parent1bdd7c7ea8a711efcb5141663865cc1f7e4e824d
linux-user: Perform more checks on iovec lists

Validate count between 0 and IOV_MAX.  Limit total length of
operation in the same way the kernel does.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c