From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id E66A268AA for ; Thu, 18 Dec 2014 00:43:51 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id x13so149434wgg.5 for ; Wed, 17 Dec 2014 15:43:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=cPP5VxO0r2sx35qm/mw1qWHQzDtUE45mJjaHN5+qmws=; b=jz1/Lh16lgrqqbTWNY0vt/Ty2GCT8RqWrRLdsOhEDFezReeCEyxt6DbfgwE56tC1O8 akpLtVXZd0pLvEPxKszILYgw9FMo/MJeUi5iZSs7qb15WVFfK4nMfQj082UBIdis6MG3 kQ2N8Ktno6KoUleAQtSjggeYsWBJA63ZIiv1wJQ2U9jxiN+FfN9gjxArptWRYOawTtxd 4YEXmL2rVc6MMMZ+Y4eNrhrzhboZD51LPhIlcbBh3AQKZVnNO9AEEU07TYX7+VD5vXYA ERUaVtlu4WTP303ctBjp88PVDHr0ufllpyMaE/tTIaxMThRs4ZS9CDj0ildC7f5VW/8z tINA== X-Gm-Message-State: ALoCoQmuwcnsHh2eU7S2M7deWRJTxJY3at56vP2jMbvL7S15XiSc+oEoRxJznB2l0GOJKWlKy+PJ X-Received: by 10.180.95.37 with SMTP id dh5mr19014889wib.64.1418859831719; Wed, 17 Dec 2014 15:43:51 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id et4sm6883911wjd.15.2014.12.17.15.43.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Dec 2014 15:43:51 -0800 (PST) From: Thomas Monjalon To: Declan Doherty Date: Thu, 18 Dec 2014 00:43:24 +0100 Message-ID: <2863111.SnXXXXTDLa@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418816819-13517-1-git-send-email-declan.doherty@intel.com> References: <1418663630-27409-1-git-send-email-declan.doherty@intel.com> <1418816819-13517-1-git-send-email-declan.doherty@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 0/3] bond: static analysis issues fix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 23:43:52 -0000 > -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 Applied Thanks -- Thomas