David Marchand
1ec35c80e8
test/latency: fix stack smashing
Caught in one Travis run:
+ ------------------------------------------------------- +
+ Test Suite : Latency Stats Unit Test Suite
+ ------------------------------------------------------- +
+ TestCase [ 0] : test_latency_init succeeded
+ TestCase [ 1] : test_latency_update succeeded
[snip]
+ TestCase [1601724781] : test_latencystats_get_names succeeded
[snip]
+ Tests Failed : 1601790830
htonl(1601724781) -> "m", "a", "x", "_"
htonl(1601790830) -> "n", "c", "y", "_"
Looks like someone went too far.
The test passes a bigger size than the array it passes along.
Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
2019-06-27 22:32:33 +02:00
..
2019-05-24 13:34:45 +02:00
2019-04-21 19:11:37 +02:00
2019-06-27 22:32:33 +02:00
2019-06-03 16:54:54 +02:00
2019-04-22 21:32:10 +02:00
2019-02-26 15:24:11 +01:00
2019-04-02 16:50:24 +02:00
2019-04-18 16:01:28 +02:00
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:46 +02:00
2019-06-20 23:42:04 +02:00
2019-02-26 15:29:27 +01:00
2019-06-26 16:50:33 +02:00