David Hunt
8f8f876bd7
examples/power: fix json null termination
...
coverity complains about a null-termination after a read,
so we terminate once we exit the do-while read loop.
Coverity issue: 337680
Fixes: a63504a90f ("examples/power: add JSON string handling")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
2019-05-03 01:41:42 +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:41:42 +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