> -----Original Message----- > From: Jerin Jacob [mailto:[email protected]] > Sent: Wednesday, May 16, 2018 1:28 PM > To: [email protected] > Cc: De Lara Guarch, Pablo <[email protected]>; > [email protected]; Jerin Jacob <[email protected]>; > Doherty, Declan <[email protected]>; [email protected]; > [email protected] > Subject: [dpdk-dev] [PATCH v2 1/2] app/crypto-perf: use strcpy for allocated > string > > inlined from ‘cperf_test_vector_get_from_file’ at > ../app/test-crypto-perf/cperf_test_vector_parsing.c:578:11: > ../app/test-crypto-perf/cperf_test_vector_parsing.c:510:3: error: > ‘strncpy’ output truncated before terminating nul copying as many bytes from a > string as its length [-Werror=stringop-truncation] > strncpy(entry, line, strlen(line)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../app/test-crypto-perf/cperf_test_vector_parsing.c:528:5: error: > ‘strncat’ output truncated before terminating nul copying as many bytes from a > string as its length [-Werror=stringop-truncation] > strncat(entry, line, strlen(line)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Found this issue with meson build and gcc 8.1. > > Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test > application") > > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Jerin Jacob <[email protected]> > Acked-by: Pablo de Lara <[email protected]>
Applied to dpdk-next-crypto. Thanks, Pablo

