[dpdk-dev] [PATCH] app/testpmd: fix potential out of bounds read

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 23 12:36:19 CET 2015


> After the last enabled port has been seen, and the last time we
> evaluate the loop condition, there is an out of bounds read in
> ports[p].enabled because p is equal to size, which is the length of
> ports.
> 
> Signed-off-by: Julien Cretin <julien.cretin at trust-in-soft.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied, thanks


More information about the dev mailing list