a5e20775a7
Fix issue reported by Coverity.
Coverity ID 124556
If the buffer is treated as a null terminated string in later operations,
a buffer overflow or over-read may occur.
In vhost_set_ifname: The string buffer may not have a null terminator if
the source string's length is equal to the buffer size
Fixes:
|
||
---|---|---|
.. | ||
eventfd_link | ||
libvirt | ||
vhost_cuse | ||
vhost_user | ||
Makefile | ||
rte_vhost_version.map | ||
rte_virtio_net.h | ||
vhost_rxtx.c | ||
vhost-net.h | ||
virtio-net.c | ||
virtio-net.h |