From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id A8C901B22A; Thu, 25 Jan 2018 23:18:35 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3907221CD4; Thu, 25 Jan 2018 17:18:35 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 25 Jan 2018 17:18:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=vcyBwmQrwRYgKzqmGMIBd4dw5m 3fB0LwFbYBgWMrwNo=; b=jWIUiLO5j4XQQRjj9v8K2bkp7T5aVSi14Q9oiYDW/R 5VBJ04CPRaLMJriRr3eiMFFOKjBv2q0f9OsV/g3NeIbfFl9BqJayYYntJfTuNV2v GRANsbdSZ4UVG5GdnxobjCYNyErr3vKHfZbP9K5SCMQHVkAvr8uOsezuAqUOzexg A= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vcyBwm QrwRYgKzqmGMIBd4dw5m3fB0LwFbYBgWMrwNo=; b=CRkO42Hmuo3Hy5VC4M9xnl Zh6kG23xcWKBYFqFwmFChQGf5GS5DGtISm9+5azcVRb+IcGyLPJVLifhhE1ZLv7B 4FWan+x9IOX4/K95iYl6sg/orQrFz2B40HbdaSu7H9ECFPJr69zrttFxm6PBG9pk +u3wy3t8Cd1VZwreBiWu54gQS4etjtspoObDiB0vLkHgLTUFipa+PWK+JssLbI6C Hvxls0Svaceh34HTUlwv9m2//XMvIKd8FIJirzFoH+HcDePhcaE7fjzmF/Fnmyih JUiFKLoLyw8z/Ik/4sE5IJc+3swoHJhB0WkS2UgWO4waNTgZE8w05weEj7jJ9SEA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DEBD67E46B; Thu, 25 Jan 2018 17:18:34 -0500 (EST) From: Thomas Monjalon To: Xueming Li Cc: stable@dpdk.org, Olivier Matz , dev@dpdk.org, Adrien Mazarguil Date: Thu, 25 Jan 2018 23:17:48 +0100 Message-ID: <9867019.QRIUDN0C28@xps> In-Reply-To: <20180122131422.mjfm6jwz5oil5dnz@platinum> References: <20180120032631.132978-1-xuemingl@mellanox.com> <20180122131422.mjfm6jwz5oil5dnz@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] cmdline: avoid garbage in unused fields of parsed result 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: , X-List-Received-Date: Thu, 25 Jan 2018 22:18:35 -0000 22/01/2018 14:14, Olivier Matz: > On Sat, Jan 20, 2018 at 11:26:31AM +0800, Xueming Li wrote: > > The result buffer was not initialized before parsing, inducing garbage > > in unused fields or padding of the parsed structure. > > > > Initialize the result buffer each time before parsing. > > > > Fixes: af75078fece3 ("first public release") > > Cc: stable@dpdk.org > > Signed-off-by: Xueming Li > > Acked-by: Olivier Matz Applied, thanks