« Previous | Next » 

Revision e95d3bf0

IDe95d3bf04d8a54af43bb8db3b8eb64d68c9f6927

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences