Mike McCormack
e95d3bf04d
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>
2011-05-02 10:00:01 +03:00
..
2011-04-26 10:15:41 +03:00
2011-04-25 22:15:31 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-12-03 15:10:08 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-12-03 15:10:08 +02:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2011-04-12 18:48:43 +00:00
2009-10-01 16:12:16 -05:00
2010-02-06 17:19:43 +01:00
2010-02-06 17:19:43 +01:00
2011-04-12 18:49:05 +00:00
2008-12-13 09:32:43 +00:00
2007-10-14 16:27:31 +00:00
2011-02-09 10:33:54 +02:00
2011-04-26 10:15:41 +03:00
2008-05-23 16:06:43 +00:00
2011-01-07 18:20:57 +02:00
2010-10-05 13:53:56 -05:00
2011-04-12 18:49:05 +00:00
2011-03-03 23:33:45 +01:00
2008-12-08 18:12:04 +00:00
2011-04-12 18:49:05 +00:00
2011-02-10 20:18:36 +01:00
2007-12-10 08:24:59 +00:00
2011-05-02 10:00:01 +03:00
2011-04-26 10:15:40 +03:00
2011-04-26 10:15:41 +03:00
2011-01-07 17:20:58 +02:00
2011-05-02 10:00:01 +03:00
2011-02-09 10:33:54 +02:00
2009-07-01 18:24:44 +00:00
2009-07-16 20:47:01 +00:00