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

Olivier Matz olivier.matz at 6wind.com
Mon Jan 22 14:14:22 CET 2018


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>


More information about the dev mailing list