Re: [dpdk-dev] [PATCH] app/testbbdev: fix buffer null termination due to strncpy

2018-01-31 Thread Thomas Monjalon
31/01/2018 13:40, Amr Mokhtar: > use snprintf instead of strncpy to ensure null termination when > copying test_vector_filename from cmd arguments. > > Coverity issue: 257001 > Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") > > Signed-off-by: Amr Mokhtar Applied, thanks

[dpdk-dev] [PATCH] app/testbbdev: fix buffer null termination due to strncpy

2018-01-31 Thread Amr Mokhtar
use snprintf instead of strncpy to ensure null termination when copying test_vector_filename from cmd arguments. Coverity issue: 257001 Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Signed-off-by: Amr Mokhtar --- app/test-bbdev/main.c | 5 +++-- 1 file changed, 3 inserti