[dpdk-dev] [PATCH v3 0/3] bond: static analysis issues fix
Declan Doherty
declan.doherty at intel.com
Wed Dec 17 12:46:56 CET 2014
-v3:
Split patches
-v2:
Incorporates Pawel's comments regarding assertion's check on activate_slave array indexing
Fixes for link bonding library identified by static analysis tool
- Overflow assert for active_slaves array in activate_slave function
- Allocation check of pci_id_table in rte_eth_bond_create
- Use of eth_dev pointer in mac_address_get/set before NULL check
Declan Doherty (3):
bond: add bounds check before assigning active slave count value
bond: fix pci_id_table allocation check in rte_eth_bond_create
bond: eth_dev parameter used before NULL check mac_address_get/set
lib/librte_pmd_bond/rte_eth_bond_api.c | 6 +++++-
lib/librte_pmd_bond/rte_eth_bond_pmd.c | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
--
1.7.12.2
More information about the dev
mailing list