[dpdk-stable] [PATCH] test: fix uninitialized parameter in table autotest

Thomas Monjalon thomas at monjalon.net
Thu Jan 18 00:28:35 CET 2018


> > delete_bulk() copies metadata to pointers provided by the entries
> > parameter, but in the unit test, they are uninitialized, leading
> > to rte_table attempting to memcpy into random garbage pointers.
> > 
> > Memsetting pointer table to zero will prevent that from happening.
> > 
> > Fixes: 48f2543cf0a8 ("app/test: add bulk adding and deleting")
> > Cc: marcinx.kerlin at intel.com
> > Cc: stable at dpdk.org
> > Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks



More information about the stable mailing list