Re: [dpdk-dev] [PATCH 1/2] app/crypto-perf: use strcpy for allocated string

2018-05-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, May 16, 2018 7:40 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob ; > Doherty, Declan ; a...@warmcat.com; > sta...@dpdk.org > Subject: [dpdk-dev

[dpdk-dev] [PATCH 1/2] app/crypto-perf: use strcpy for allocated string

2018-05-15 Thread Jerin Jacob
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-trunc