« Previous | Next » 

Revision e95d3bf0


Added by Mike McCormack over 10 years ago

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 <>
Reviewed-by: Stefan Hajnoczi <>
Acked-by: Mike Frysinger <>
Signed-off-by: Riku Voipio <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences