David Hunt
3f1fc5f2cb
examples/power: fix buffer overrun
...
The freqs array in freq_info struct has RTE_MAX_LCORE_FREQS elements,
yet the code can attempt to look at the index at RTE_MAX_LCORE,
which may be greater than RTE_MAX_LCORE_FREQS. Fix to limit index to
RTE_MAX_LCORE_FREQS.
Coverity issue: 337660
Fixes: d26c18c93260 ("examples/vm_power: cpu frequency in host")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
2019-05-03 01:38:46 +02:00
..
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-02-26 15:29:07 +01:00
2019-04-04 22:45:54 +02:00
2019-04-17 18:09:53 +02:00
2019-04-04 22:46:05 +02:00
2019-04-22 13:20:33 +02:00
2019-04-04 22:45:54 +02:00
2019-04-18 16:01:28 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-11 14:27:32 +02:00
2019-03-30 01:12:15 +01:00
2019-04-23 14:44:26 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-17 18:10:34 +02:00
2019-04-04 22:46:05 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-05-03 00:47:58 +02:00
2019-03-30 01:12:15 +01:00
2019-04-17 18:09:52 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-05-03 01:33:57 +02:00
2019-04-04 22:45:54 +02:00
2019-03-30 01:12:15 +01:00
2019-05-03 00:38:14 +02:00
2019-03-30 01:12:15 +01:00
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-21 19:11:37 +02:00
2019-03-30 01:12:15 +01:00
2019-04-17 18:09:52 +02:00
2019-04-17 18:09:52 +02:00
2019-03-30 01:12:15 +01:00
2019-04-23 00:15:10 +02:00
2019-05-03 01:38:46 +02:00
2019-03-30 01:12:15 +01:00
2019-03-30 01:12:15 +01:00
2019-04-02 02:22:32 +02:00
2019-05-02 23:05:01 +02:00