numam-dpdk/lib
Yuanhan Liu f80c3fd3b4 vhost: fix not null terminated string
Fix an issue raised by Coverity.

    >>>     CID 127475:  Memory - illegal accesses  (BUFFER_SIZE_WARNING)
    >>>     Calling strncpy with a maximum size argument of 108 bytes on
    >>>     destination array "un->sun_path" of size 108 bytes might leave
    >>>     the destination string unterminated.
    441             strncpy(un->sun_path, path, sizeof(un->sun_path));
    442
    443             return fd;
    444     }

Coverity issue: 127475
Fixes: 64ab701c3d ("vhost: add vhost-user client mode")

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
librte_cryptodev cryptodev: move KASUMI to end of list 2016-07-08 20:00:32 +02:00
librte_distributor
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
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
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
librte_vhost vhost: fix not null terminated string 2016-07-04 04:08:41 +02:00
Makefile pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00