aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorMike McCormack <mj.mccormack@samsung.com>2011-04-12 11:41:00 +0900
committerRiku Voipio <riku.voipio@iki.fi>2011-05-02 10:00:01 +0300
commite95d3bf04d8a54af43bb8db3b8eb64d68c9f6927 (patch)
treeac22c3982946d90b895cc9f0fd0d63532a92b83c /cpu-exec.c
parent6f11f013a5ef88c42ce2e9060bbaafb39676ca39 (diff)
Fix buffer overrun in sched_getaffinity
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 <mj.mccormack@samsung.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions