[dpdk-stable] [PATCH v6] eal: fix core number validation

Thomas Monjalon thomas at monjalon.net
Thu Jan 17 17:31:30 CET 2019


17/01/2019 13:13, Hari Kumar Vemula:
> When incorrect core value or range provided,
> as part of -l command line option, a crash occurs.
> 
> Added valid range checks to fix the crash.
> 
> Added ut check for negative core values.
> Added unit test case for invalid core number range.
> 
> Fixes: d888cb8b9613 ("eal: add core list input format")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
> Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks




More information about the stable mailing list