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 6BFD6A0AC5 for ; Fri, 3 May 2019 17:07:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC2F15F3B; Fri, 3 May 2019 17:07:27 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 645595F19; Fri, 3 May 2019 17:07:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D3784261C8; Fri, 3 May 2019 11:07:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 03 May 2019 11:07:23 -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=YnnN5vEPHyTWt2LuSk051kHKZSgAKZsakt8n4cleE/Q=; b=R/Fj4j0jc8ay PPmLENta4C+FLIloGGnVHl2hBH/xtWtAHzXfNn0LVNtI8xBjvTp48U9ZYsYY2ZnQ BonF20FphLzCwIiTE2skrUc0krnqPfN+6Ya7HRlwA/MIDXMJDbtUZkFExmcT1gqo 0ryO44i4r7pWedvXm7t1hsSFJTy7IPk= 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=YnnN5vEPHyTWt2LuSk051kHKZSgAKZsakt8n4cleE /Q=; b=vNPK3BJLhrDMMIjJnzzgFbJEMgzrGKAR8IdcrIAu9ziBSTGoElkrQqvkJ 56EzwA1bbwrCTxtxbv2A95bwKCg9Qhw680PbMfiaEQ8b/xd8Maqcv7OMrYE2ASXQ 5ukUKUiJXTtYvSZXnMOlas8UyUXoK3LJgPPIsyHNCmhYBkiVUrpmuwlUul/L8X4b GNsO6GyxeaaG5xqkOMgcGAQ411OeKxqaLMTdQGhD6CJ13bwhHh/eJkogiGRIkMph de3efbgz8R8y97p+7fpM0w9sPHD0dombAtfK7KHAJhDPNFFLzXbpRc1xb4GB8yFq Dt60rphosNMaF277nxS/qvYpPqtRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrjedugdekkecutefuodetggdotefrodftvf 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 61154E4625; Fri, 3 May 2019 11:07:22 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, keith.wiles@intel.com, herakliusz.lipiec@intel.com, stable@dpdk.org Date: Fri, 03 May 2019 17:07:20 +0200 Message-ID: <4603474.Ut7UvzHKc3@xps> In-Reply-To: <6b8908ab3f0d662c803dba10eba2cae989f8ef4f.1556546216.git.anatoly.burakov@intel.com> References: <6b8908ab3f0d662c803dba10eba2cae989f8ef4f.1556546216.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] ipc: handle more invalid parameter cases X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 29/04/2019 15:59, Anatoly Burakov: > Length of buffer and number of fd's to send are signed values, so > they can be negative, but the API doesn't check for that. Fix it > by checking for negative values as well. > > Fixes: bacaa2754017 ("eal: add channel for multi-process communication") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied, thanks