Slawomir Mrozowicz 72481c87ec examples/performance-thread: fix out-of-bounds sched array
Overrunning array schedcore of 128 8-byte elements at element index 128
using index core id.
Fixed by correct check index lcoreid condition and
change type of lcoreid to unsigned.

Coverity issue: 143459, 143461
Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
2017-10-14 01:22:24 +02:00
..
2017-10-06 18:23:25 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-06 18:23:25 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-06 18:23:25 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-06 18:23:25 +02:00
2017-10-06 18:23:25 +02:00
2017-10-13 21:57:49 +02:00
2017-10-13 21:57:49 +02:00
2017-10-09 01:06:39 +02:00