Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bonding: fix OOB access in other aggregator modes
[ upstream commit dfbc596 ] slave aggregator_port_id is in [0, RTE_MAX_ETHPORTS-1] range. If RTE_MAX_ETHPORTS is > 8, we can hit out of bound accesses on agg_bandwidth[] and agg_count[] arrays. Fixes: 6d72657 ("net/bonding: add other aggregator modes") Signed-off-by: Hui Zhao <zhaohui8@huawei.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Chas Williams <chas3@att.com>
- Loading branch information