numam-dpdk/lib
Yuanhan Liu 9d8365874e vhost: fix potential null pointer dereference
Fix the potential NULL pointer dereference issue raised by Coverity.

    578             reconn = malloc(sizeof(*reconn));
    >>>     CID 127481:  Null pointer dereferences  (NULL_RETURNS)
    >>>     Dereferencing a null pointer "reconn".
    579             reconn->un = un;

Coverity issue: 127481
Fixes: e623e0c6d8 ("vhost: add reconnect ability")

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-07-04 04:08:41 +02:00
..
librte_acl mk: fix cross-compilation 2016-06-07 10:02:39 +02:00
librte_cfgfile cfgfile: fix uninitialized variable on load error 2016-05-02 15:15:46 +02:00
librte_cmdline cmdline: remove duplicated symbol from .map 2016-06-30 20:02:52 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev cryptodev: move KASUMI to end of list 2016-07-08 20:00:32 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal igb_uio: fix possible mmap failure with Linux 4.5 2016-07-10 15:56:54 +02:00
librte_ether ethdev: fix xstats id mismatch 2016-07-10 14:55:42 +02:00
librte_hash hash: retrieve a key given its position 2016-07-10 14:56:45 +02:00
librte_ip_frag mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
librte_ivshmem ivshmem: fix for modified mempool struct 2016-07-01 19:33:08 +02:00
librte_jobstats jobstats: fix typo in a comment 2016-06-30 18:51:20 +02:00
librte_kni mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm6: fix possible garbage in lookup 2016-05-02 15:15:45 +02:00
librte_mbuf net/mbuf: remove unused Rx error flags 2016-06-20 17:21:49 +02:00
librte_mempool mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
librte_meter mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pdump pdump: close client socket on error 2016-07-10 15:06:30 +02:00
librte_pipeline mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
librte_port port: remove duplicated symbols from .map 2016-06-30 20:02:56 +02:00
librte_power power: fix error messages 2016-05-16 14:17:41 +02:00
librte_reorder mk: fix internal dependencies 2016-06-29 13:33:01 +02:00
librte_ring mem: avoid memzone/mempool/ring name truncation 2016-05-19 14:40:14 +02:00
librte_sched sched: fix build without red 2016-06-14 17:24:15 +02:00
librte_table table: remove unneeded dependency on hash library 2016-07-10 16:23:13 +02:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: fix potential null pointer dereference 2016-07-04 04:08:41 +02:00
Makefile pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00