Re: [dpdk-dev] [PATCH v2] metrics: fix potential missing NULL termination

2018-04-04 Thread Thomas Monjalon
22/03/2018 11:33, Ferruh Yigit: > On 2/20/2018 4:05 PM, Remy Horton wrote: > > Fixes a potential memory overrun detected by Coverity. > > This overrun cannot currently happen in practice because > > rte_metrics_reg_names() explicitly forces the last name > > character to be a NULL terminator. This

Re: [dpdk-dev] [PATCH v2] metrics: fix potential missing NULL termination

2018-03-22 Thread Ferruh Yigit
On 2/20/2018 4:05 PM, Remy Horton wrote: > Fixes a potential memory overrun detected by Coverity. > This overrun cannot currently happen in practice because > rte_metrics_reg_names() explicitly forces the last name > character to be a NULL terminator. This patch adds the > same enforcement to rte_m