From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E64AE29D2; Fri, 3 May 2019 22:57:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7BA66285B9; Fri, 3 May 2019 16:57:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 03 May 2019 16:57:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=WFA1xSDg5JVsQmWceiiIWo7pkTq1qwYe7cvWAD/qmno=; b=cSCGH7bD6y9V kFd35KuRPmCvO7BvnpLSnZAFRRJ6ZEG9OkHvXVGXfxRZzCrQ/jqjsW/P49DV07UQ 8qA80P+mwFdMirDBkj79aQK8OwnLSDiPhhtxHWo8/f29WZfCSFk4r6zV8uxwJbxk MpE9BaSG0AAYp1T1JiacGDdbfQXP0mk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WFA1xSDg5JVsQmWceiiIWo7pkTq1qwYe7cvWAD/qm no=; b=cgkVWgDqeuG4mKvJ+btwBjU9URPxLXiQoinYq9EyjkC/zcLzDAeqw4dU9 DD95RnA1P/yCPWC8UThlJ0Q2bqcjvPcYVTeTUojKqNMw6mH7j2mUrCqKpG/WW5MJ E2j5NzOSrCZRr9ej4vkyLvd56iGsqJl1/FEeFW1HMO8IdyWHXhbTQUqa0rCoh867 ORTzGGDxJZYEOiLomGyDm+Rd6tgYi0yz+ZK0s8cwUrR2nKcL693M6xWO1sfFF7Nm jP/83jGB5mz0/y3Aw0lAjrWLEGhouwcO91Fr3CdTPxvL+99+L2/N29sil5ncRwaW RbdUPUGWHxk/5wtaf9tvD0ajiYZEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjedugdduheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5FB191037C; Fri, 3 May 2019 16:57:01 -0400 (EDT) From: Thomas Monjalon To: Erik Gabriel Carrillo Cc: dev@dpdk.org, john.mcnamara@intel.com, marko.kovacevic@intel.com, stable@dpdk.org Date: Fri, 03 May 2019 22:57:00 +0200 Message-ID: <11066332.fDbx1gRrtm@xps> In-Reply-To: <1556116430-22593-1-git-send-email-erik.g.carrillo@intel.com> References: <1556116430-22593-1-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] timer: fix pointer to local outside scope X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 20:57:03 -0000 24/04/2019 16:33, Erik Gabriel Carrillo: > A null array is allowed to be passed as one of the parameters to > rte_timer_alt_manage() as a convenience. When that happened, an > anonymous array was created using compound literal syntax, and Coverity > detected that the object was out of scope in later uses of it. Create > an object in the proper scope instead. > > Coverity issue: 337919 > Fixes: c0749f7096c7 ("timer: allow management in shared memory") > Cc: stable@dpdk.org No need to Cc stable for a commit introduced in this release. > Signed-off-by: Erik Gabriel Carrillo Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 55B8BA0AC5 for ; Fri, 3 May 2019 22:57:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6462F2B84; Fri, 3 May 2019 22:57:04 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E64AE29D2; Fri, 3 May 2019 22:57:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7BA66285B9; Fri, 3 May 2019 16:57:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 03 May 2019 16:57:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=WFA1xSDg5JVsQmWceiiIWo7pkTq1qwYe7cvWAD/qmno=; b=cSCGH7bD6y9V kFd35KuRPmCvO7BvnpLSnZAFRRJ6ZEG9OkHvXVGXfxRZzCrQ/jqjsW/P49DV07UQ 8qA80P+mwFdMirDBkj79aQK8OwnLSDiPhhtxHWo8/f29WZfCSFk4r6zV8uxwJbxk MpE9BaSG0AAYp1T1JiacGDdbfQXP0mk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WFA1xSDg5JVsQmWceiiIWo7pkTq1qwYe7cvWAD/qm no=; b=cgkVWgDqeuG4mKvJ+btwBjU9URPxLXiQoinYq9EyjkC/zcLzDAeqw4dU9 DD95RnA1P/yCPWC8UThlJ0Q2bqcjvPcYVTeTUojKqNMw6mH7j2mUrCqKpG/WW5MJ E2j5NzOSrCZRr9ej4vkyLvd56iGsqJl1/FEeFW1HMO8IdyWHXhbTQUqa0rCoh867 ORTzGGDxJZYEOiLomGyDm+Rd6tgYi0yz+ZK0s8cwUrR2nKcL693M6xWO1sfFF7Nm jP/83jGB5mz0/y3Aw0lAjrWLEGhouwcO91Fr3CdTPxvL+99+L2/N29sil5ncRwaW RbdUPUGWHxk/5wtaf9tvD0ajiYZEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjedugdduheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5FB191037C; Fri, 3 May 2019 16:57:01 -0400 (EDT) From: Thomas Monjalon To: Erik Gabriel Carrillo Cc: dev@dpdk.org, john.mcnamara@intel.com, marko.kovacevic@intel.com, stable@dpdk.org Date: Fri, 03 May 2019 22:57:00 +0200 Message-ID: <11066332.fDbx1gRrtm@xps> In-Reply-To: <1556116430-22593-1-git-send-email-erik.g.carrillo@intel.com> References: <1556116430-22593-1-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] timer: fix pointer to local outside scope X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190503205700.bUphNkaU2yNlXuz7PTFS3wW9juudfwGczLiMGKuqy3Q@z> 24/04/2019 16:33, Erik Gabriel Carrillo: > A null array is allowed to be passed as one of the parameters to > rte_timer_alt_manage() as a convenience. When that happened, an > anonymous array was created using compound literal syntax, and Coverity > detected that the object was out of scope in later uses of it. Create > an object in the proper scope instead. > > Coverity issue: 337919 > Fixes: c0749f7096c7 ("timer: allow management in shared memory") > Cc: stable@dpdk.org No need to Cc stable for a commit introduced in this release. > Signed-off-by: Erik Gabriel Carrillo Applied, thanks