Re: [dpdk-dev] [PATCH v1] examples/vm_power_manager: fix string null termination

2019-04-26 Thread Hunt, David
Hi Anatoly, On 26/4/2019 11:33 AM, Burakov, Anatoly wrote: On 26-Apr-19 9:43 AM, David Hunt wrote: coverity complains about a null-termination after a read, so we terminate conditionally on whether idx is within the buffer or at the end of the buffer. Coverity issue: 337680 Fixes: a63504a90f (

Re: [dpdk-dev] [PATCH v1] examples/vm_power_manager: fix string null termination

2019-04-26 Thread Burakov, Anatoly
On 26-Apr-19 9:43 AM, David Hunt wrote: coverity complains about a null-termination after a read, so we terminate conditionally on whether idx is within the buffer or at the end of the buffer. Coverity issue: 337680 Fixes: a63504a90f ("examples/power: add JSON string handling") CC: sta...@dpdk.o

[dpdk-dev] [PATCH v1] examples/vm_power_manager: fix string null termination

2019-04-26 Thread David Hunt
coverity complains about a null-termination after a read, so we terminate conditionally on whether idx is within the buffer or at the end of the buffer. Coverity issue: 337680 Fixes: a63504a90f ("examples/power: add JSON string handling") CC: sta...@dpdk.org Signed-off-by: David Hunt --- example