Re: [dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-10-08 Thread Yuanhan Liu
On Tue, Sep 19, 2017 at 01:41:04PM +0200, SebastianX Basierski wrote: > Fix calling strncpy with the a maximum size equal of destination > array size. > > Coverity issue: 140732 > > Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") > Cc: jianfeng@intel.com > cc: dev@dpdk.org > >

Re: [dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-09-20 Thread Tan, Jianfeng
> -Original Message- > From: Basierski, SebastianX > Sent: Wednesday, September 20, 2017 5:20 PM > To: Tan, Jianfeng; skh...@vmware.com > Cc: dev@dpdk.org > Subject: RE: [PATCH] pmd_virtio: Buffer not null terminated > ... > > > Hi, > > I don't understand. > Are You asking me to send

Re: [dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-09-20 Thread Basierski, SebastianX
> -Original Message- > From: Basierski, SebastianX > Sent: Tuesday, September 19, 2017 7:41 PM > To: skh...@vmware.com > Cc: Basierski, SebastianX; Tan, Jianfeng; dev@dpdk.org > Subject: [PATCH] pmd_virtio: Buffer not null terminated > > Fix calling strncpy with the a maximum size equal of

Re: [dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-09-19 Thread Tan, Jianfeng
> -Original Message- > From: Basierski, SebastianX > Sent: Tuesday, September 19, 2017 7:41 PM > To: skh...@vmware.com > Cc: Basierski, SebastianX; Tan, Jianfeng; dev@dpdk.org > Subject: [PATCH] pmd_virtio: Buffer not null terminated > > Fix calling strncpy with the a maximum size equal

[dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-09-19 Thread SebastianX Basierski
Fix calling strncpy with the a maximum size equal of destination array size. Coverity issue: 140732 Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") Cc: jianfeng@intel.com cc: dev@dpdk.org Signed-off-by: SebastianX Basierski --- drivers/net/virtio/virtio_user/vhost_kernel_tap.