Re: [dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Ferruh Yigit
On 2/17/2017 3:05 PM, Wiles, Keith wrote: > >> On Feb 17, 2017, at 9:02 AM, Richardson, Bruce >> wrote: >> >> On Fri, Feb 17, 2017 at 08:44:26AM -0600, Keith Wiles wrote: >>> Calling strncpy with a maximum size argument of 16 bytes on destination >>> array "ifr.ifr_ifrn.ifrn_name" of size 16 byt

Re: [dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Bruce Richardson
On Fri, Feb 17, 2017 at 03:05:40PM +, Wiles, Keith wrote: > > > On Feb 17, 2017, at 9:02 AM, Richardson, Bruce > > wrote: > > > > On Fri, Feb 17, 2017 at 08:44:26AM -0600, Keith Wiles wrote: > >> Calling strncpy with a maximum size argument of 16 bytes on destination > >> array "ifr.ifr_ifr

Re: [dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Wiles, Keith
> On Feb 17, 2017, at 9:02 AM, Richardson, Bruce > wrote: > > On Fri, Feb 17, 2017 at 08:44:26AM -0600, Keith Wiles wrote: >> Calling strncpy with a maximum size argument of 16 bytes on destination >> array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the >> destination string untermin

Re: [dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Bruce Richardson
On Fri, Feb 17, 2017 at 08:44:26AM -0600, Keith Wiles wrote: > Calling strncpy with a maximum size argument of 16 bytes on destination > array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the > destination string unterminated. > > Signed-off-by: Keith Wiles > --- > drivers/net/tap/rte_e

Re: [dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Wiles, Keith
> On Feb 17, 2017, at 8:44 AM, Keith Wiles wrote: > > Calling strncpy with a maximum size argument of 16 bytes on destination > array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the > destination string unterminated. > > Signed-off-by: Keith Wiles > --- > drivers/net/tap/rte_eth_tap.

[dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git