baseband/acc100: avoid out-of-bounds access
authorNicolas Chautru <nicolas.chautru@intel.com>
Tue, 22 Feb 2022 23:43:36 +0000 (15:43 -0800)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 23 Feb 2022 10:59:51 +0000 (11:59 +0100)
commitfb6996eec066dc7fa0eda951e492a65c8380d930
treec92493bf23315db8d38d5aba0a1e388c68aa0b7c
parentaaf4ac404362752e9c8effa4641bb480187d04ec
baseband/acc100: avoid out-of-bounds access

The actual maximum number of gather pointers should have been limited

Coverity issue: 375803, 375813, 375819, 375827, 375831
Fixes: 5ad5060f8f7a ("baseband/acc100: add LDPC processing functions")
Cc: stable@dpdk.org
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
drivers/baseband/acc100/rte_acc100_pmd.c
drivers/baseband/acc100/rte_acc100_pmd.h