> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan
> Sent: Friday, June 24, 2016 5:36 PM
> To: dev at dpdk.org
> Cc: Pattan, Reshma
> Subject: [dpdk-dev] [PATCH v5 3/5] pdump: fix string overflow
>
> replaced strncpy
replaced strncpy with snprintf for safely
copying the strings.
Cverity issue 127350: string overflow
Fixes: 278f945402c5 ("pdump: add new library for packet capture")
Signed-off-by: Reshma Pattan
---
lib/librte_pdump/rte_pdump.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff
2 matches
Mail list logo