Reshma Pattan
4c2caea070
examples/power: fix string null termination
...
After the read() the jason_data null termination is missing
for the case "indent < 0", for "indent > 0" and "indent == 0"
cases null termination is already handled.
So add the missing case "indent < 0" to the existing "indent == 0"
case to fix null termination.
Coverity issue: 337680
Fixes: a63504a90f ("examples/power: add JSON string handling")
Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
2019-04-23 00:15:10 +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-02 16:50:24 +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-04-22 13:20:33 +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-04-21 19:11:37 +02:00
2019-04-04 22:45:54 +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-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-17 18:09:52 +02:00
2019-04-23 00:15:10 +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-04-17 18:09:52 +02:00