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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Dec 7 03:46:11 CET 2015


> > 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
> > <sergio.gonzalez.monroy at intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Applied, thanks


More information about the dev mailing list