From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v1] lib/metrics: add check for invalid metric keys Date: Fri, 20 Jul 2018 16:31:23 +0100 Message-ID: <402f4c38-6ed2-e279-b6dc-e382b0efa250@intel.com> References: <20180706132119.9013-1-remy.horton@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Remy Horton , dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C0EFE2C36 for ; Fri, 20 Jul 2018 17:31:29 +0200 (CEST) In-Reply-To: <20180706132119.9013-1-remy.horton@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/6/2018 2:21 PM, Remy Horton wrote: > This patchset adds a check to rte_metrics_update_values() > that prevents the updating of metrics when presented with > an invalid metric key. Previously, doing the latter could > result in a crash. > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > > Signed-off-by: Remy Horton Acked-by: Ferruh Yigit