Re: [Qemu-devel] [PATCH] Fix buffer overrun in sched_getaffinity

2011-04-16 Thread Mike Frysinger
On Sat, Apr 16, 2011 at 05:16, Stefan Hajnoczi wrote: > On Tue, Apr 12, 2011 at 12:48:20PM +0900, Mike McCormack wrote: >> Zeroing of the cpu array should start from &cpus[kernel_ret] >> not &cpus[num_zeros_to_fill]. >> >> This fixes a crash in EFL's edje_cc running under qemu-arm. >> >> diff --git

Re: [Qemu-devel] [PATCH] Fix buffer overrun in sched_getaffinity

2011-04-16 Thread Stefan Hajnoczi
On Tue, Apr 12, 2011 at 12:48:20PM +0900, Mike McCormack wrote: > Zeroing of the cpu array should start from &cpus[kernel_ret] > not &cpus[num_zeros_to_fill]. > > This fixes a crash in EFL's edje_cc running under qemu-arm. > > Signed-off-by: Mike McCormack > --- > linux-user/syscall.c |2 +-

[Qemu-devel] [PATCH] Fix buffer overrun in sched_getaffinity

2011-04-11 Thread Mike McCormack
Zeroing of the cpu array should start from &cpus[kernel_ret] not &cpus[num_zeros_to_fill]. This fixes a crash in EFL's edje_cc running under qemu-arm. Signed-off-by: Mike McCormack --- linux-user/syscall.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/sysc