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 A8E61A0AC5 for ; Fri, 3 May 2019 01:43:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16E3C5F28; Fri, 3 May 2019 01:43:45 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0A12D5F1C; Fri, 3 May 2019 01:43:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9ACA523BEA; Thu, 2 May 2019 19:43:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 02 May 2019 19:43:43 -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=u9eNSyQkWZslAl3dsQVd3aYDfb8hl/FuoVoUDgCqK00=; b=Y3snXHDM8zPG oNOFdCUGTJGtYqWSMVzmx6Fy+NIpeKJ61VI6apzn24tusqPexCVJ2iS/14M3K9Kz AS17Z8jVe2v3nPpZwjsDHP4NppGiwvnsqQN3gk3Yunrh+xRCQoIL4u3zyQWBDRJN hA/uxl7b8l53YDLmxNSrzqEYkMnC5I8= 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=u9eNSyQkWZslAl3dsQVd3aYDfb8hl/FuoVoUDgCqK 00=; b=TgKFRVtp0BGNO7c1PuNhTIGjUVPMEaKxRgjrST/A6pXB76xMLwIAb1Y+c ebopKR14rHK9qS5wcZwQGmoRP/huwjMRXRc+mOuov0iVOhB6e4YGRkmS4iYrWRUr OXudUd1U2QAawO8s0/JrBvupGqtT50RaEk1JOGlhUiUtIW9tf9ywVslCdmnsa3Mf ZWAOiXH0MN9hcKI4g5FDJJ3DWXkz2+yEubXA+kmJuVZEmEpHcHP4aFC+IFAxFlGx L/P4cRmCHJBEtvHhqyHlNXfrHRSLpPxaYPc8b3ygGkiLAQZ1qXBn7oleKE15xyjk dYFChwcsa0ja16Ko1YkhfnMK20yjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjedtgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 9F728103D1; Thu, 2 May 2019 19:43:42 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org, "Burakov, Anatoly" , stable@dpdk.org Date: Fri, 03 May 2019 01:43:41 +0200 Message-ID: <2238935.MQL5HepLSp@xps> In-Reply-To: <691b68a8-8663-3dcc-72d3-d9c16eda788b@intel.com> References: <20190426112422.15719-1-david.hunt@intel.com> <20190426140454.29684-1-david.hunt@intel.com> <691b68a8-8663-3dcc-72d3-d9c16eda788b@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3] examples/vm_power_manager: fix string null termination 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: <20190502234341.pLT-OkkrPO35i1Ppek9tW0NcGywguOUIpR5n_qfhrSY@z> 26/04/2019 16:10, Burakov, Anatoly: > On 26-Apr-19 3:04 PM, David Hunt wrote: > > coverity complains about a null-termination after a read, > > so we terminate once we exit the do-while read loop. > > > > Coverity issue: 337680 > > Fixes: a63504a90f ("examples/power: add JSON string handling") > > CC: stable@dpdk.org > > > > Signed-off-by: David Hunt > > Reviewed-by: Anatoly Burakov Applied, thanks PS: replaced "string" with "json" in title to give a bit more context.