[dpdk-dev] [PATCH 1/1] ip_pipeline: fix null pointer dereference
thomas.monjalon at 6wind.com
Tue Jun 14 21:10:52 CEST 2016
> > Return value of function app_pipeline_type_find is not checking before
> > dereference. Fix this problem by adding checking condition.
> > Coverity issue: 127196
> > Fixes: b4aee0fb9c6d ("examples/ip_pipeline: reconfigure thread binding
> > dynamically")
> > Signed-off-by: Marcin Kerlin <marcinx.kerlin at intel.com>
> Hi Marcin,
> Checking p_type at this point is not required, as we already validated the pipeline settings (including the pipeline type) as part of the init code.
> But since this code is harmless I am acking this patch just to avoid having the same discussion about this Coverity false positive issue again.
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
More information about the dev