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 A9C16A00BE for ; Tue, 7 Jul 2020 19:24:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72EAE1DEBE; Tue, 7 Jul 2020 19:24:33 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0E0761DEB2; Tue, 7 Jul 2020 19:24:31 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A31E55C01EE; Tue, 7 Jul 2020 13:24:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 07 Jul 2020 13:24:30 -0400 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=fm1; bh= UZb0+6FKc/TFZnJR/CIgAccN3/6fSV3fN43NKGiazc8=; b=r2N45lj6ONtxLpat VLHl8hs2AbIGTuL+EwyrTweVJWnSGaROQf6xutHWJL9rivlABrMWkA2YsQFyKfHo gygsiTq/cWE+u6nlUMYF2At6HERNU6TOYFI8P0zU2Nq/A9xYCSb0wTxX4NFByRa2 MS4OJqPqwTGpcq0BLpsfp1YRhkIwosPGPGQBbXmB425lbK2y5vZ2VNo01/QgVLMC npHzCl2+U9jNzY6D8ZE8Df+jUylrPX/OBlKH6BMIhuz+PNgRn0hvKJfOMLYDudlp zsPLNtXR/JkuH5vn3YN5DoEMQmMQORoq/gr4HzWtimZJVhypHf3RPzPvdbe/DKF8 1EpsHw== 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=fm3; bh=UZb0+6FKc/TFZnJR/CIgAccN3/6fSV3fN43NKGiaz c8=; b=lfRs4tBHJvWCIYwTzblbN2dyBhoJBzH71MGn2tP9AEQhQjYj+7WyDgjdv PtXGi6V8Z5y/cPJU+P7Uq0ylof67AECEGE8uPOQ4C2y7PDuHIe8aYqTYKCXn2GBe ct9Lw1COnbz3WYhiTjCSgmMvu6+1zEYexKA26wNecsoJR2cZxgZMF4H1I7R38sBd Mw6hmvgGyJ+5F5CZeBkN7xeRhtapw8cWxzWGAQGUz71zfGSawpTdwQdL/X76DN7l hOnTtYJ4IcgMf2vplVS8cseT8F+kjCDerjpU5DRq3X3TRnYSDPxqLjSvr7jClVDE tantz3NzsqYFcz6AaNldX5R6NmT4w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 7D118328005D; Tue, 7 Jul 2020 13:24:29 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: stable@dpdk.org, cristian.dumitrescu@intel.com, dev@dpdk.org, jacekx.piasecki@intel.com, Bruce Richardson Date: Tue, 07 Jul 2020 19:24:28 +0200 Message-ID: <9842695.2Akpk08PZk@thomas> In-Reply-To: <20200702092039.GC611@bricha3-MOBL.ger.corp.intel.com> References: <20200702030558.17852-1-stephen@networkplumber.org> <20200702092039.GC611@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] cfgfile: avoid stack buffer underflow 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 02/07/2020 11:20, Bruce Richardson: > On Wed, Jul 01, 2020 at 08:05:58PM -0700, Stephen Hemminger wrote: > > If cfgfile is give a line with comment character at the start > > of the line, it will dereference outside of the buffer. > > > > Detected with address sanitizer: [...] > > Good catch by the tool. > > Reviewed-by: Bruce Richardson Applied, thanks