On Tue, Apr 17, 2018 at 02:17:19PM +0100, Jasvinder Singh wrote:
> The destination string may not have a null termination if
> the source string's length is equal to the sizeof(tap->name).
>
> Fix by replacing strncpy with strlcpy that guarantees NULL-termination.
>
> Coverty issue: 272603
> Fixes: 2f74ae28e23f ("examples/ip_pipeline: add tap object")
>
> Signed-off-by: Jasvinder Singh <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>
- [dpdk-dev] [PATCH] examples/ip_pipeline: fix buffer n... Jasvinder Singh
- Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix... Bruce Richardson
- [dpdk-dev] [PATCH] examples/ip_pipeline: fix buf... Jasvinder Singh
- Re: [dpdk-dev] [PATCH] examples/ip_pipeline:... Bruce Richardson
- Re: [dpdk-dev] [PATCH] examples/ip_pipel... Singh, Jasvinder
- [dpdk-dev] [PATCH v2] examples/ip_pipeline: ... Jasvinder Singh
- Re: [dpdk-dev] [PATCH v2] examples/ip_pi... Dumitrescu, Cristian
- [dpdk-dev] [PATCH] examples/ip_pipeline: fix buf... Kevin Laatz
- Re: [dpdk-dev] [PATCH] examples/ip_pipeline:... Singh, Jasvinder
- [dpdk-dev] [PATCH] examples/ip_pipeline: fix buf... Kevin Laatz
- Re: [dpdk-dev] [PATCH] examples/ip_pipeline:... Singh, Jasvinder
- Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix... Dumitrescu, Cristian

