[dpdk-dev] [PATCH 2/3] pdump: fix string overflow

2016-06-21 Thread Ferruh Yigit
On 6/21/2016 4:18 PM, Reshma Pattan wrote: > using source length in strncpy can cause destination > overflow if destination length is not big enough to > handle the source string. Changes are made to use destination > size instead of source length in strncpy. > > Cverity issue 127350: string overf

[dpdk-dev] [PATCH 2/3] pdump: fix string overflow

2016-06-21 Thread Reshma Pattan
using source length in strncpy can cause destination overflow if destination length is not big enough to handle the source string. Changes are made to use destination size instead of source length in strncpy. Cverity issue 127350: string overflow Fixes: 278f945402c5 ("pdump: add new library for p