From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: [PATCH v3 0/3] bond: static analysis issues fix Date: Wed, 17 Dec 2014 11:46:56 +0000 Message-ID: <1418816819-13517-1-git-send-email-declan.doherty@intel.com> References: <1418663630-27409-1-git-send-email-declan.doherty@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1418663630-27409-1-git-send-email-declan.doherty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" -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