[PATCH] test/hash: avoid out of bound access

Thomas Monjalon thomas at monjalon.net
Sun Jun 26 17:03:50 CEST 2022


04/06/2022 10:37, Heinrich Schuchardt:
> rwc_non_lf_results->multi_rw, rwc_lf_results->multi_rw, and
> rwc_perf_results->multi_rw are accessed at indexes
> [0..NUM_TEST-1][0..1][0..NUMTEST-1]. Currently the first index
> overflows the array size in struct rwc_perf.
> 
> Fixes: c7eb0972e74b ("test/test/test_hash_readwrite_lf.c")
> Cc: Dharmik Thakkar <dharmik.thakkar at arm.com>
> Cc: stable at dpdk.org 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Applied, thanks.





More information about the stable mailing list