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 04431A05D3 for ; Mon, 22 Apr 2019 23:10:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5C261B458; Mon, 22 Apr 2019 23:10:37 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 15BD11B3E0; Mon, 22 Apr 2019 23:10:36 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 11E3021BF9; Mon, 22 Apr 2019 17:10:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 17:10:04 -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=tHehmOcprh4M/lHb/6N8PSG/gP+ZCzMWcUo3AK2+huA=; b=HcuJYz8WhsXk B6hJDuM7HscSVFGCBId6MPka7kroDTeWImFPEwQgUaqScPw+wriImUaR4Q3F8Lgv ipWU4u73doc1JKX9WloC/Jb17pcWDFDAgcCHYnRgPPXsUMrOlS/uQifY3y7pN9o3 ZT/v1ZZIGs4UbA0U4+DCuH6hJ+T5KLI= 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=tHehmOcprh4M/lHb/6N8PSG/gP+ZCzMWcUo3AK2+h uA=; b=nW0lxWkMWoxpCFe4G+32DF8IUYxDVBuToqOmZuPgTIxJJinCdob61Nceq SGyl5rziIsJrqD/tnIoJOjWHMx684Lvcb3KEIk+mb/PFHsKz0Rr6HFeBp9WbDJac jdnuGRpCar/eneixy+RPFw895EvPEzWPMxpHaRQQroRVG4zQbNvSFrQFaYpJ2P3s ciHkzLsdfOcvQn7CkwUwFilDQVMH5jKY7eFxG2+gB2OprRLQyDGjoIWdH5+Z6oaE L6iFFMFszGW8RCUpoAcY9V9hdLd+Xb4lRYsUQWbIgBDVuEamlijg7MeDxBSzfHOm 56qUPYlfby+Lj3rLlNCxY3GMBRX9A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id D9D0CE4122; Mon, 22 Apr 2019 17:10:00 -0400 (EDT) From: Thomas Monjalon To: Reshma Pattan Cc: stable@dpdk.org, "Hunt, David" , dev@dpdk.org Date: Mon, 22 Apr 2019 23:09:58 +0200 Message-ID: <1853067.ZkMTqVCtyj@xps> In-Reply-To: References: <20190410145431.35269-1-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] examples/vm_power_manager: fix string overflow 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: <20190422210958.PWjeeOqpuoFiMO8XlgWU-dhFweuOq3wNMMgVSm1nmsY@z> 15/04/2019 16:45, Hunt, David: > On 10/4/2019 3:54 PM, Reshma Pattan wrote: > > Use strlcpy instead of strcpy to fix string overflow. > > > > Coverity issue: 337671 > > Fixes: a63504a90f ("examples/power: add JSON string handling") > > CC: david.hunt@intel.com > > CC: stable@dpdk.org > > > > Signed-off-by: Reshma Pattan > > Acked-by: David Hunt Applied, thanks