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

2022-06-26 Thread Thomas Monjalon
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/t

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

2022-06-04 Thread 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