From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/l2fwd-crypto: fix incorrect stats array length Date: Mon, 11 Jul 2016 17:05:11 +0200 Message-ID: <2431574.P8sG2I9F6c@xps13> References: <1467034665-30988-1-git-send-email-pablo.de.lara.guarch@intel.com> <10043d7c-06c0-5877-c686-883baf87fa21@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Declan Doherty To: Pablo de Lara Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id DACB9282 for ; Mon, 11 Jul 2016 17:05:16 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id i5so21422317wmg.0 for ; Mon, 11 Jul 2016 08:05:16 -0700 (PDT) In-Reply-To: <10043d7c-06c0-5877-c686-883baf87fa21@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-28 09:28, Declan Doherty: > On 27/06/16 14:37, Pablo de Lara wrote: > > crypto_statistics array was not big enough for storing > > all the possible crypto device statistics, as its size was > > RTE_MAX_ETHPORTS, but should be RTE_CRYPTO_MAX_DEVS, leading > > this to a potential out-of-bounds issue. > > > > Coverity issue: 120145 > > > > Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") > > > > Signed-off-by: Pablo de Lara > > Acked-by: Declan Doherty Slawomir sent the same fix, so kind of applied :)