From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <thomas@monjalon.net> 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: <xms:qy2-XMoiVKFaAzPc6NbYDelHHmaEM5OhxX0Lo-mnQvnhfS8SJ2KxYA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: <xmx:qy2-XGkLAyIzPR1v6qfwfwqohExzrfOH6_LgkoEWvIP501r2ZHrngA> <xmx:qy2-XFzoTs7tv3iH0bzPRsuI6UxmoeCLI-gq7vedYynVucrhVe8ZPg> <xmx:qy2-XL2g0c79GdUBpndfjyJ7J9zhKvFKimZlv9dXXaoPjgkfhF97dw> <xmx:rC2-XDE3Tkzc0usFGmM3HFS5n3_fe7r69uBSkdsT4t__JwtmNiq8vQ> 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 <thomas@monjalon.net> To: Reshma Pattan <reshma.pattan@intel.com> Cc: stable@dpdk.org, "Hunt, David" <david.hunt@intel.com>, dev@dpdk.org Date: Mon, 22 Apr 2019 23:09:58 +0200 Message-ID: <1853067.ZkMTqVCtyj@xps> In-Reply-To: <bd0104b3-53c1-56b5-e0f9-3f7566c45f26@intel.com> References: <20190410145431.35269-1-reshma.pattan@intel.com> <bd0104b3-53c1-56b5-e0f9-3f7566c45f26@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Mon, 22 Apr 2019 21:10:36 -0000 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 <reshma.pattan@intel.com> > > Acked-by: David Hunt <david.hunt@intel.com> Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 04431A05D3 for <public@inbox.dpdk.org>; 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: <xms:qy2-XMoiVKFaAzPc6NbYDelHHmaEM5OhxX0Lo-mnQvnhfS8SJ2KxYA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: <xmx:qy2-XGkLAyIzPR1v6qfwfwqohExzrfOH6_LgkoEWvIP501r2ZHrngA> <xmx:qy2-XFzoTs7tv3iH0bzPRsuI6UxmoeCLI-gq7vedYynVucrhVe8ZPg> <xmx:qy2-XL2g0c79GdUBpndfjyJ7J9zhKvFKimZlv9dXXaoPjgkfhF97dw> <xmx:rC2-XDE3Tkzc0usFGmM3HFS5n3_fe7r69uBSkdsT4t__JwtmNiq8vQ> 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 <thomas@monjalon.net> To: Reshma Pattan <reshma.pattan@intel.com> Cc: stable@dpdk.org, "Hunt, David" <david.hunt@intel.com>, dev@dpdk.org Date: Mon, 22 Apr 2019 23:09:58 +0200 Message-ID: <1853067.ZkMTqVCtyj@xps> In-Reply-To: <bd0104b3-53c1-56b5-e0f9-3f7566c45f26@intel.com> References: <20190410145431.35269-1-reshma.pattan@intel.com> <bd0104b3-53c1-56b5-e0f9-3f7566c45f26@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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> 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 <reshma.pattan@intel.com> > > Acked-by: David Hunt <david.hunt@intel.com> Applied, thanks