vhost: fix null pointer dereference in NUMA realloc
authorWeiguo Li <liwg06@foxmail.com>
Sat, 29 Jan 2022 19:07:35 +0000 (03:07 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 10 Feb 2022 15:07:44 +0000 (16:07 +0100)
commitb474ce12a4b165d957c0fad3d0b88e0a7cdd50b3
tree96c6e2fd7045e60990a0c30bfd41376ef6986306
parentd8875804e00b37a80efc6e1c97ac57f8ac2c7d91
vhost: fix null pointer dereference in NUMA realloc

Fixes: b53c9d20fa06 ("vhost: improve vhost-user layer logs")

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/vhost/vhost_user.c