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

2019-05-02 Thread Thomas Monjalon
26/04/2019 16:10, Burakov, Anatoly: > On 26-Apr-19 3:04 PM, David Hunt wrote: > > 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") > >

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

2019-04-26 Thread Burakov, Anatoly
On 26-Apr-19 3:04 PM, David Hunt wrote: 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: sta...@dpdk.org Signed-off-by: David Hunt --- v2: Mo

[dpdk-dev] [PATCH v3] 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 once we exit the do-while read loop. Coverity issue: 337680 Fixes: a63504a90f ("examples/power: add JSON string handling") CC: sta...@dpdk.org Signed-off-by: David Hunt --- v2: Move null termination outside of do-while. v