From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] cmdline: avoid garbage in unused fields of parsed result Date: Thu, 25 Jan 2018 23:17:48 +0100 Message-ID: <9867019.QRIUDN0C28@xps> References: <20180120032631.132978-1-xuemingl@mellanox.com> <20180122131422.mjfm6jwz5oil5dnz@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, Olivier Matz , dev@dpdk.org, Adrien Mazarguil To: Xueming Li Return-path: In-Reply-To: <20180122131422.mjfm6jwz5oil5dnz@platinum> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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