From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B170A04B5; Thu, 29 Oct 2020 17:31:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76100CA10; Thu, 29 Oct 2020 17:31:23 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 76697377E for ; Thu, 29 Oct 2020 17:31:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603989078; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yHxcIVucmducGoolzH8Nd9vC+fTxEmcJvi4kddjZ9BA=; b=Otapfxws2D+O3c93qgfP/Utegnxx7cFQuC/Wdkl2RhdAqWcEQf1vdlWsjEgKRWlCkPS3so YnM2VS1J80I3OQ7y9ZzF734SZcwfnUq+yMbxMkOqAtYvzqwC81WGeRhRpnACBN/WIcOG0q 7VarBnn3H47IDn6bJ2kna2BJkdH7/5o= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-165-kxojbTCXNviIgP_RG_FPxg-1; Thu, 29 Oct 2020 12:31:17 -0400 X-MC-Unique: kxojbTCXNviIgP_RG_FPxg-1 Received: by mail-vk1-f199.google.com with SMTP id x23so937221vkx.1 for ; Thu, 29 Oct 2020 09:31:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yHxcIVucmducGoolzH8Nd9vC+fTxEmcJvi4kddjZ9BA=; b=YOHwQcjzdtpXpt+G6VZbUXYEQp8TeP5jYQ7aD9YODA6uZUaGwv7p41waaGfWSkdGYF V2Sv0AGzqf9mwjNUtPAF32abZDvgC3RQxajxmXMm43cYKHNsg3gs62OJNbVvl7FqU4iZ LVsHYVn4F63EHCNWOZKbu0B9cOi3a1YA9C9O0Rn3n1ztLD87TOyX9mejxVclcaIBjPhQ 131PsEpU+07Xlf4cacT7W+drE8D47dtNVorvPtIytGvUIJwpoF4HJNpl/SRwFzKJP/96 JoavE5GBw/uhPfkV7q7S/7XXWFJXyrlw1mk0PUrbhuV2p3aEd5YX4eenK+PHqpSpzqni HVuA== X-Gm-Message-State: AOAM533+ZKq8/Ed9EgCVwV0Mf78p130bGPXW6tmDzdb/4FDS9lYC1gQB W/mNxVtyYg7S1YqWuuHLdY9DG/WdX0kt3/6Cv3vGK/vuUM22zZRI1aLpfkcK5oOdcQcIvzYaVRA Y5t4q/QhdBH9XaMm7wP8= X-Received: by 2002:ab0:200c:: with SMTP id v12mr3440181uak.53.1603989076647; Thu, 29 Oct 2020 09:31:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpG8ukgem2QYODQ+eAA6YHhUgpu2G1HrxpV5u6/NYCW5LWt2T/1Vje9SDjPhauarSnsmHk+sq8bak/45Eyxc0= X-Received: by 2002:ab0:200c:: with SMTP id v12mr3440165uak.53.1603989076463; Thu, 29 Oct 2020 09:31:16 -0700 (PDT) MIME-Version: 1.0 References: <20201026195916.8325-1-cristian.dumitrescu@intel.com> In-Reply-To: <20201026195916.8325-1-cristian.dumitrescu@intel.com> From: David Marchand Date: Thu, 29 Oct 2020 17:31:04 +0100 Message-ID: To: Cristian Dumitrescu Cc: dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] pipeline: fix string copy into fixed size buffer 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 Mon, Oct 26, 2020 at 8:59 PM Cristian Dumitrescu wrote: > > Fix potential buffer overflows by string copy into fixed size buffer. > > Coverity issue: 362732, 362736, 362760, 362772, 362775, 362784, > 362800, 362803, 362806, 362811, 362814, 362816, > 362834, 362837, 362844, 362845, 362857, 362861, > 362868, 362890, 362893, 362904, 362905. This sets a record for the project :-). > Fixes: 56492fd536 ("pipeline: add new SWX pipeline type") > Fixes: 1e4c88caea ("pipeline: add SWX extern objects and funcs") > Fixes: e9d870dd93 ("pipeline: add SWX pipeline tables") > Fixes: a1711f948d ("pipeline: add SWX Rx and extract instructions") > > Signed-off-by: Cristian Dumitrescu Applied, thanks. -- David Marchand