From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=7WyZqaXid/eudrxOLqCuM4i5NCL5TeEF/ccDvEt7x8g=; b=Sq6ZM1I8v3uoBkhEuG24FdyZFazn+/LG+yGmevsseT7Poc+3Ip777Vh6oGDegF/1Kd YrzWjwU78rY+svY4aqRVO3zPsQ9WbUaH5ZUfpHIgGNlM0bj065qL8lv2O39moiFb3qas ZrC9glSuujNfegjmPW5F6wYJfSnE1c+T9jmwdTG6opymyMx8r3sMxUgWj5jRgpFHR9Rq tTCowwWvfUjAiHnA/pc6LDk44Hshe4gOSvFx3VLpObiYenfXradKxJtLrpGcJlL5763S Y9npJe9ffbSKc88EisW2aVtIyymjQr1foJrPBBHKPlDv0nZ3JG2sCTg33kbD+8i9WZIK vtVQ== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=7WyZqaXid/eudrxOLqCuM4i5NCL5TeEF/ccDvEt7x8g=; b=fewu9Dp+UqzA7vAhfVxJC60GqHbtUfjgNQZzjbZMNKcIbeNdjV1eOSvXA2FxpAx0pW /Tu8LgelK4gJVBALvIcegzA1bh4XnGEg90AgTqRzzyvq+zc0XHo0MJOOo+bMMgzv2Oqo fOPjtfkiqLknoTXldfxPkhgUAFuSzUJA3glb6m1lo5gUZV4GD4wy6x3awGbzOmFYIiTQ qUZqDGV5gYx8QKqXLP9/QTbFBhnOdmqUYgT6aVZNrG2swFkfggPruuYHhKH16DtZTjJI GFwoRn2hQWkht7nIoL/D6TZG9frt8yOIuhg4wV4XOK/Nh9VEF8mQHAr9vtpRP+hPu7qp PDUQ== X-Gm-Message-State: ALyK8tKWAY8NhuIulNmlTMOYZB73zBt4I2ouOxmHmeo2TU6OK85Wg1buA4+veV/HREa+55Id X-Received: by 10.194.151.36 with SMTP id un4mr279512wjb.49.1468249516628; Mon, 11 Jul 2016 08:05:16 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id i8sm3913710wmg.21.2016.07.11.08.05.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 08:05:15 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, Declan Doherty Date: Mon, 11 Jul 2016 17:05:11 +0200 Message-ID: <2431574.P8sG2I9F6c@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <10043d7c-06c0-5877-c686-883baf87fa21@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/l2fwd-crypto: fix incorrect stats array length 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: Mon, 11 Jul 2016 15:05:17 -0000 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 :)