Re: [Qemu-devel] [PATCH] linux-user: make bogus negative iovec lengths fail EINVAL

2013-02-08 Thread Richard Henderson
On 2013-02-08 09:58, Peter Maydell wrote: If the guest passes us a bogus negative length for an iovec, fail EINVAL rather than proceeding blindly forward. This fixes some of the error cases tests for readv and writev in the LTP. Signed-off-by: Peter Maydell --- I guess I'll resend this mixed bag

[Qemu-devel] [PATCH] linux-user: make bogus negative iovec lengths fail EINVAL

2013-02-08 Thread Peter Maydell
If the guest passes us a bogus negative length for an iovec, fail EINVAL rather than proceeding blindly forward. This fixes some of the error cases tests for readv and writev in the LTP. Signed-off-by: Peter Maydell --- I guess I'll resend this mixed bag of linux-user patches as a single series a