numam-dpdk/examples/ip_pipeline
Marcin Kerlin 5fdb6c3621 examples/ip_pipeline: fix null pointer dereference
Return value of function app_pipeline_type_find is not checking before
dereference. Fix this problem by adding checking condition.

Coverity issue: 127196
Fixes: b4aee0fb9c ("examples/ip_pipeline: reconfigure thread binding dynamically")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2016-06-14 21:09:29 +02:00
..
config examples/ip_pipeline: add sample configs for various layers 2016-06-08 21:40:38 +02:00
pipeline examples/ip_pipeline: update routes when ports state change 2016-06-08 21:40:38 +02:00
app.h examples/ip_pipeline: update routes when ports state change 2016-06-08 21:40:38 +02:00
config_check.c examples/ip_pipeline: support RSS 2016-06-08 21:35:35 +02:00
config_parse_tm.c examples/ip_pipeline: fix buffer overrun 2015-12-13 02:39:19 +01:00
config_parse.c examples/ip_pipeline: support RSS 2016-06-08 21:35:35 +02:00
cpu_core_map.c remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
cpu_core_map.h examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
init.c examples/ip_pipeline: link routing output ports to devices 2016-06-08 21:36:04 +02:00
main.c examples/ip_pipeline: add more ports 2015-11-26 00:32:12 +01:00
Makefile examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
parser.c examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
parser.h examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
pipeline_be.h examples/ip_pipeline: link routing output ports to devices 2016-06-08 21:36:04 +02:00
pipeline.h examples/ip_pipeline: link routing output ports to devices 2016-06-08 21:36:04 +02:00
thread_fe.c examples/ip_pipeline: fix null pointer dereference 2016-06-14 21:09:29 +02:00
thread_fe.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.c examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00