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: 91d3e2d42997 ("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
..
2019-11-20 22:48:32 +01:00
2020-04-16 18:30:58 +02:00
2019-10-27 17:23:05 +01:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-05-11 19:20:54 +02:00
2020-05-11 13:17:43 +02:00
2020-04-16 18:30:58 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-04-16 18:16:46 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-04-23 15:40:06 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-05 23:46:11 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-12 04:07:29 +02:00
2020-05-05 00:27:05 +02:00
2020-04-23 15:40:06 +02:00
2020-05-12 04:07:29 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-05-12 04:07:29 +02:00
2020-04-16 18:30:58 +02:00
2020-05-12 04:07:29 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-02-21 11:14:35 +01:00
2020-04-23 15:40:06 +02:00
2020-04-21 13:57:07 +02:00
2019-11-20 22:48:32 +01:00
2020-05-18 20:35:57 +02:00
2019-11-20 22:48:32 +01:00
2020-05-12 04:07:29 +02:00
2020-04-21 13:57:06 +02:00
2020-04-23 15:40:06 +02:00
2020-05-05 23:42:26 +02:00
2020-05-05 23:42:26 +02:00