Re: [Qemu-devel] [PATCH v2 1/2] linux-user: limit number of arguments to execve

2017-03-06 Thread Eric Blake
On 03/06/2017 09:42 AM, Peter Maydell wrote: > On 6 March 2017 at 07:17, P J P wrote: >> From: Prasad J Pandit >> >> Limit the number of arguments passed to execve(2) call from >> a user program, as large number of them could lead to a bad >> guest address error. >> >> Reported-by: Jann Horn >>

Re: [Qemu-devel] [PATCH v2 1/2] linux-user: limit number of arguments to execve

2017-03-06 Thread Peter Maydell
On 6 March 2017 at 07:17, P J P wrote: > From: Prasad J Pandit > > Limit the number of arguments passed to execve(2) call from > a user program, as large number of them could lead to a bad > guest address error. > > Reported-by: Jann Horn > Signed-off-by: Prasad J Pandit > --- > linux-user/sys

[Qemu-devel] [PATCH v2 1/2] linux-user: limit number of arguments to execve

2017-03-05 Thread P J P
From: Prasad J Pandit Limit the number of arguments passed to execve(2) call from a user program, as large number of them could lead to a bad guest address error. Reported-by: Jann Horn Signed-off-by: Prasad J Pandit --- linux-user/syscall.c | 6 ++ 1 file changed, 6 insertions(+) Update