On Tue, Nov 5, 2024 at 9:35 PM Xiaoguang Wang <lege.w...@jaguarmicro.com> wrote:
>
> Allocate one extra virtio_device_id as null terminator, otherwise
> vdpa_mgmtdev_get_classes() may iterate multiple times and visit
> undefined memory.
>
> Fixes: ffbda8e9df10 ("vdpa/vp_vdpa : add vdpa tool support in vp_vdpa")
> Cc: sta...@vger.kernel.org
> Suggested-by: Parav Pandit <pa...@nvidia.com>
> Signed-off-by: Angus Chen <angus.c...@jaguarmicro.com>
> Signed-off-by: Xiaoguang Wang <lege.w...@jaguarmicro.com>
> ---

Acked-by: Jason Wang <jasow...@redhat.com>

Thanks


Reply via email to