numam-dpdk/examples
Cheng Jiang 2b7126f5fc examples/vhost: check argument length
Add args length check before copying to fix the coverity issue.

Coverity issue: 363741
Fixes: 3a04ecb214 ("examples/vhost: add async vhost args parsing")

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-11-13 19:43:26 +01:00
..
bbdev_app examples/bbdev: switch to dynamic mbuf field 2020-10-31 16:13:11 +01:00
bond examples: enclose DPDK includes with angle brackets 2020-10-31 16:13:10 +01:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00
distributor examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ethtool examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
eventdev_pipeline eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
fips_validation fips_validation: fix GCM test 2020-11-02 09:24:41 +01:00
flow_classify eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
flow_filtering examples: check stop call status 2020-10-16 22:26:41 +02:00
helloworld eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ioat examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_fragmentation eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_reassembly eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ipsec-secgw cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
ipv4_multicast eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
kni examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
l2fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-cat examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
l2fwd-crypto eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-event eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-jobstats eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: skip meson build if no librt 2020-11-12 19:33:10 +01:00
l3fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-graph eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-power examples/l3fwd-power: fix race on interrupt wakeup log 2020-11-02 11:47:19 +01:00
link_status_interrupt eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
multi_process examples/multi_process: fix build on Ubuntu 20.04 2020-10-30 14:54:50 +01:00
ntb examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
packet_ordering reorder: switch sequence number to dynamic mbuf field 2020-10-31 22:14:30 +01:00
performance-thread examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ptpclient eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_meter eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_sched examples/qos_sched: fix usage string 2020-11-13 14:25:57 +01:00
rxtx_callbacks examples/rxtx_callbacks: switch timestamp to dynamic field 2020-11-03 16:21:15 +01:00
server_node_efd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
service_cores examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
skeleton eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
timer eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vdpa examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost examples/vhost: check argument length 2020-11-13 19:43:26 +01:00
vhost_blk examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost_crypto examples/vhost_crypto: add new line character in usage 2020-11-13 19:43:25 +01:00
vm_power_manager cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
vmdq eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vmdq_dcb eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build examples: fix flattening directory layout on install 2020-11-12 19:33:06 +01:00