[dpdk-dev] [PATCH v2] app/test: fix array subscript is above array bounds for gcc 4.5

2016-04-07 Thread Thomas Monjalon
> > Using uint8_t as a size of copied block prevents to evaluate in rte_memcpy > > code for length bigger than 255, causing the problem. > > > > v2 changes: > > - added fixline > > > > Fixes: 8bdf665fe6c0 ("app/test: add SNOW 3G") > > > > Signed-off-by: Tomasz Kulasek > > Acked-by: Pablo de

[dpdk-dev] [PATCH v2] app/test: fix array subscript is above array bounds for gcc 4.5

2016-04-07 Thread Tomasz Kulasek
cc1: warnings being treated as errors DPDK/app/test/test_cryptodev.c: In function 'test_snow3g_encrypted_authenti cation.clone.3': DPDK/x86_64-ivshmem-linuxapp-gcc/include/rte_memcpy.h:796:14: error: array subscript is above array bounds compilation terminated due to -Wfatal-errors. ROOT OF

[dpdk-dev] [PATCH v2] app/test: fix array subscript is above array bounds for gcc 4.5

2016-04-07 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Thursday, April 07, 2016 3:02 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] app/test: fix array subscript is above array > bounds for gcc 4.5 > > cc1