[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-12-07 Thread Thomas Monjalon
> > memory_autotest loops infinitely when at least one the memsegs > > is bigger than 4GB. > > > > The issue is the result of an integer overflow/wraparound of > > the offset variable. > > > > Fix it by using the correct type (size_t). > > > > Signed-off-by: Sergio Gonzalez Monroy > > > >

[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-12-02 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Tuesday, November 17, 2015 3:39 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] app/test: fix memory_autotest integer > overflow/wraparound >

[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-11-17 Thread Sergio Gonzalez Monroy
memory_autotest loops infinitely when at least one the memsegs is bigger than 4GB. The issue is the result of an integer overflow/wraparound of the offset variable. Fix it by using the correct type (size_t). Signed-off-by: Sergio Gonzalez Monroy --- app/test/test_memory.c | 3 ++- 1 file