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

2015-03-23 Thread Thomas Monjalon
> 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 Acked-by: Thomas Monjalon Applied, thanks

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

2015-03-09 Thread Julien Cretin
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 --- app/test-pmd/testpmd.c | 2 +- 1 file changed, 1 insertion(+)