Cheng Jiang
47afdbbe56
examples/vhost: fix overflow in argument parsing
Change the way passing args to fix potential overflow in args process.
Coverity issue: 363741
Fixes: 965b06f03582 ("examples/vhost: enhance getopt_long usage")
Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-05-04 10:21:33 +02:00
..
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:28:54 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-05-04 17:43:50 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-05-04 15:01:47 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 20:21:25 +02:00
2021-05-04 15:01:47 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-05-04 10:21:33 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 20:21:25 +02:00
2021-04-21 14:04:09 +02:00