From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D0E1C43457 for ; Fri, 9 Oct 2020 16:31:49 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id DE13D2227F for ; Fri, 9 Oct 2020 16:31:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE13D2227F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0630A1D164; Fri, 9 Oct 2020 18:31:47 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id F27DE1D162 for ; Fri, 9 Oct 2020 18:31:44 +0200 (CEST) IronPort-SDR: tuCaOtA3spSn+zZBvnHgCW6D8PHsuyVOUJn7+w/B8s8HfZeQHYZFVHDgEpjYxROWpilphP2aQa Ar5DwbeC+Irw== X-IronPort-AV: E=McAfee;i="6000,8403,9769"; a="182950446" X-IronPort-AV: E=Sophos;i="5.77,355,1596524400"; d="scan'208";a="182950446" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2020 09:31:41 -0700 IronPort-SDR: FD44PcfaJKsC1G0ReKh4kRwe3BghcaJ9VukDiZsgsVAEkeau8RiAv/pdMsvBB3ZHr2ZQnMprnr 0NwMLGyLVb9g== X-IronPort-AV: E=Sophos;i="5.77,355,1596524400"; d="scan'208";a="462248284" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.18.7]) ([10.252.18.7]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2020 09:31:40 -0700 To: Bruce Richardson , Ciara Loftus Cc: dev@dpdk.org References: <20201007092050.27485-1-ciara.loftus@intel.com> <20201007102926.GD680@bricha3-MOBL.ger.corp.intel.com> From: Ferruh Yigit Message-ID: Date: Fri, 9 Oct 2020 17:31:37 +0100 MIME-Version: 1.0 In-Reply-To: <20201007102926.GD680@bricha3-MOBL.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/af_xdp: use strlcpy instead of strncpy 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" On 10/7/2020 11:29 AM, Bruce Richardson wrote: > On Wed, Oct 07, 2020 at 09:20:50AM +0000, Ciara Loftus wrote: >> strncpy may leave the destination buffer not NULL terminated so use >> strlcpy instead. >> >> Coverity issue: 362975 >> Fixes: 339b88c6a91f ("net/af_xdp: support multi-queue") >> Signed-off-by: Ciara Loftus >> --- > > Acked-by: Bruce Richardson > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.