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 B8784A057C; Fri, 27 Mar 2020 09:10:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5A07E1C08C; Fri, 27 Mar 2020 09:10:49 +0100 (CET) Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 3666C1BFD9; Fri, 27 Mar 2020 09:10:46 +0100 (CET) Received: from glumotte.dev.6wind.com. (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id F35FB3B1DF2; Fri, 27 Mar 2020 09:10:45 +0100 (CET) From: Olivier Matz To: wangyunjian@huawei.com Cc: dev@dpdk.org, jerry.lilijun@huawei.com, olivier.matz@6wind.com, stable@dpdk.org, xudingke@huawei.com Date: Fri, 27 Mar 2020 09:09:52 +0100 Message-Id: <20200327080955.19571-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <1584592680-14000-1-git-send-email-wangyunjian@huawei.com> References: <1584592680-14000-1-git-send-email-wangyunjian@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/3] kvargs fixes 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" This patchset fixes a buffer overflow in kvargs when parsing an invalid string, and fixes the kvargs unit tests. Olivier Matz (2): tests/kvargs: fix to consider empty elements as valid tests/kvargs: fix check of invalid cases Yunjian Wang (1): kvargs: fix a heap buffer overflow when parsing list app/test/test_kvargs.c | 40 +++++++++++++++++++++++++++++++--- lib/librte_kvargs/rte_kvargs.c | 2 ++ 2 files changed, 39 insertions(+), 3 deletions(-) -- 2.25.1