From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0328E239; Sun, 4 Nov 2018 22:39:00 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8560A21609; Sun, 4 Nov 2018 16:39:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 04 Nov 2018 16:39:00 -0500 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=vpMz8RwUWYlDdj8J3HZ3xITx8aopkLA86qVitcheWHk=; b=hzToMJK02aim wfH9JNqjU/eY1Kcc9VDFUX1a/ywxqJxHjZtMFjCr3HKfKklDTGW9b8R+QDIrXIdn D6HhW9S6rLk5uhfqErxlblANpqI/3160YQaPWs6znU6p4PavdInvnCEc9fbtIxzA 6isg2f9MX2z7QpvQ+rKX52PzPg+zNpg= 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=fm1; bh=vpMz8RwUWYlDdj8J3HZ3xITx8aopkLA86qVitcheW Hk=; b=IJLHFH8lQF+pHB4ikK/gBsNAIHikp8jmXPLtgfCk9fU0lqT4baRwEj0Fj 3MEFDRinzH5wphywh9w3S7jzBGZXv8w2yHop1LE+F1DASmPPglJzmdlvkk6EBJa8 9nizXObgGbH0dQPbFLThiDee9JhqZfZJgswR46Tsltrlf99qLckmtpICPS+LrN5Y 7UeoGP1v6CPRo2+rX3x/Dwz4VNNa44Rtr0TqdWc67N9Rt3I9M2qlmNFkZ5M4iUW9 9sevvb7DPCNv4yr4e3+XUXFFCju0rHH8wmvIwXDvnyr71CKdSVsp5T/1kR1/BlvR Yxpj/EwAI8Ullb9UVDE+dNBeg12YQ== X-ME-Sender: 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 562F0E40E6; Sun, 4 Nov 2018 16:38:59 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: stable@dpdk.org, dev@dpdk.org Date: Sun, 04 Nov 2018 22:38:58 +0100 Message-ID: <10879605.LDG2RKmYlG@xps> In-Reply-To: <20181102190606.48279-2-ferruh.yigit@intel.com> References: <20181101131951.91459-1-ferruh.yigit@intel.com> <20181102190606.48279-1-ferruh.yigit@intel.com> <20181102190606.48279-2-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v2 2/2] eal: fix build with gcc 9.0 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: , X-List-Received-Date: Sun, 04 Nov 2018 21:39:01 -0000 02/11/2018 20:06, Ferruh Yigit: > build error: > In function =E2=80=98eal_plugin_add=E2=80=99, > .../lib/librte_eal/common/eal_common_options.c:225:2: > error: =E2=80=98strncpy=E2=80=99 output may be truncated copying 4095= bytes from a > string of length 4095 [-Werror=3Dstringop-truncation] > strncpy(solib->name, path, PATH_MAX-1); >=20 > strncpy may result a not null-terminated string, > replaced it with strlcpy >=20 > Fixes: fa9cdc6f8410 ("eal: move plugin loading from linuxapp to common") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ferruh Yigit Series applied, thanks