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

2018-05-17 Thread De Lara Guarch, Pablo
org > 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: > ‘str

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

2018-05-16 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