From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4AC9A427E3 for ; Mon, 20 Mar 2023 16:56:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4609C40A7F; Mon, 20 Mar 2023 16:56:34 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 8795D406BC; Mon, 20 Mar 2023 16:56:33 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C2D855C0162; Mon, 20 Mar 2023 11:56:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 20 Mar 2023 11:56:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1679327792; x=1679414192; bh=xRzLJktPQIDnmUE51IMMWLS0wT+kshfK1nz wXvsTwUQ=; b=CsS0Bo48XcbNzEcn7G1vuhgXh3go/sw2ab8QUFudE8giHGeC/vB xE2/Q05uyA4CiA6UktwhrgAi+LA1iTWTx2Tjuxu9ZPx+jfcmTkxzD1BKr2ShvPU1 V6DXr4PHPsZvROMeZIcLhwXTbQMrcrEklFTIh9+mt0INzn93T2F+qnSyo6ZDQLQE wJIbQYtgUlANOgDAFw0gvS1VuR4WF3UjFr6+ImdS6/WCg5vtri65hXiIXSH7ZkvL 9s2HrU4P4cAQ4WL5U+hfEj3r2GU+azpZXsuna7FrpHGIxNDko4XG0U2WUjDx1gJL fL5WWllJ+wjqWh5/7nk3UeWCxXs0e3GyF3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1679327792; x=1679414192; bh=xRzLJktPQIDnmUE51IMMWLS0wT+kshfK1nz wXvsTwUQ=; b=RiESYf+lioDG3uWa+AqCF6AYCXrRIbyFPEBG8jadlz6XNl4dHak K8MMJhreaa7UAS6k264lhJsrHs/5T/K45vVdYZyOms5vd5r8Vb5SZP0iHpTDM5FG pE5mFQcxymdpJDaSSw1BjIS2ts98dWhqM2AR4gMROaKAdb6ddxrYBqK7ywAquXG1 VymJ6CLuCXCmvKL9R02Ts7U+pSVTApp8/b2T0PAwxK4H65m29cczZcle1+xYrlNT twokUV4RUu2IUYRs7kpmT5JlnomYQv4P9PTIBKkk/hFzcLbuPiR0TKnZM7KMX9hR poqWG9+VyDG2j7WFetzF5srO3YAMN8xTE6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdefkedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Mar 2023 11:56:31 -0400 (EDT) From: Thomas Monjalon To: "Huang, Wei" Cc: "dev@dpdk.org" , "david.marchand@redhat.com" , "stable@dpdk.org" , "Xu, Rosen" , "Zhang, Qi Z" , "Zhang, Tianfei" Subject: Re: [PATCH v1] bus/ifpga: fix issue of accessing null address Date: Mon, 20 Mar 2023 16:56:29 +0100 Message-ID: <1731054.X513TT2pbd@thomas> In-Reply-To: References: <20230316204412.338823-1-wei.huang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 > > In function ifpga_scan_one(), variable 'path' is NULL if device argument 'afu_bts' is > > not set, subsequent string copy with 'path' would lead to segmentation fault. > > > > Fixes: 6fa4aa2b3645 ("bus/ifpga: fix forcing optional devargs") > > Cc: stable@dpdk.org > > > > Signed-off-by: Wei Huang > > It looks good for me. > Acked-by: Tianfei Zhang Applied, thanks.