numam-dpdk/examples/vhost_blk
Jin Yu e2b4cfd6a4 examples/vhost_blk: fix not null-terminated buffer
In vhost_blk_bdev_construct: The string buffer may not have
a null terminator if the source string's length is equal to
the buffer size.

Fixes: 91d3e2d429 ("examples/vhost_blk: refactor to increase readability")

Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2020-05-18 20:35:57 +02:00
..
blk_spec.h replace packed attributes 2020-04-16 18:16:46 +02:00
blk.c examples/vhost_blk: refactor to increase readability 2020-05-05 15:54:26 +02:00
Makefile examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
meson.build examples/vhost_blk: introduce vhost storage sample 2019-11-11 14:23:02 +01:00
vhost_blk_compat.c examples/vhost_blk: use common macro for minimum 2020-04-21 13:57:07 +02:00
vhost_blk.c examples/vhost_blk: fix not null-terminated buffer 2020-05-18 20:35:57 +02:00
vhost_blk.h examples/vhost_blk: refactor to increase readability 2020-05-05 15:54:26 +02:00