numam-dpdk/lib
Jacek Piasecki 74e0d3a174 cfgfile: fix null pointer dereference in parsing
Function memchr() could return NULL and assign it to split[1] pointer.
Additional check and error handing is made after memchr() call.

Coverity issue: 195004
Fixes: a6a47ac9c2 ("cfgfile: rework load function")

Signed-off-by: Jacek Piasecki <jacekx.piasecki@intel.com>
Acked-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
2017-11-07 02:18:38 +01:00
..
librte_acl remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_bitratestats mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_cfgfile cfgfile: fix null pointer dereference in parsing 2017-11-07 02:18:38 +01:00
librte_cmdline mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_compat fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_cryptodev cryptodev: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
librte_distributor distributor: fix some typos 2017-11-07 01:50:48 +01:00
librte_eal lib: fix some typos 2017-11-07 01:46:22 +01:00
librte_efd eal/x86: revert select optimized memcpy at run-time 2017-11-07 01:16:03 +01:00
librte_ether remove include of generated config header 2017-11-06 21:56:07 +01:00
librte_eventdev lib: fix some typos 2017-11-07 01:46:22 +01:00
librte_flow_classify flow_classify: fix logging 2017-10-27 00:13:51 +02:00
librte_gro mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_gso mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_hash remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_ip_frag mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_jobstats mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_kni lib: fix some typos 2017-11-07 01:46:22 +01:00
librte_kvargs mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_latencystats mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_lpm remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_mbuf mbuf: rename data address helpers to IOVA 2017-11-06 22:44:26 +01:00
librte_member remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_mempool mempool: increase ABI version 2017-11-06 23:59:19 +01:00
librte_meter mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_metrics mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_net use macro to declare constructor functions 2017-11-06 21:56:07 +01:00
librte_pci remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_pdump mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_pipeline remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_port mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_power mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_reorder remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_ring mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_sched mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
librte_security security: introduce security API and framework 2017-10-26 03:10:51 +02:00
librte_table table: fix LRU hash table parameters check 2017-11-07 02:00:01 +01:00
librte_timer remove useless memzone includes 2017-11-06 22:12:08 +01:00
librte_vhost drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00