[dpdk-dev] [dpdk-stable] [PATCH] cmdline: avoid garbage in unused fields of parsed result

Thomas Monjalon thomas at monjalon.net
Thu Jan 25 23:17:48 CET 2018


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 at dpdk.org
> > Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks



More information about the dev mailing list