Re: [PATCH V3] vp_vdpa: fix id_table array not null terminated error

2024-11-05 Thread Jason Wang
On Tue, Nov 5, 2024 at 9:35 PM Xiaoguang Wang 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...@

RE: [PATCH V3] vp_vdpa: fix id_table array not null terminated error

2024-11-05 Thread Parav Pandit
> From: Xiaoguang Wang > Sent: Tuesday, November 5, 2024 7:05 PM > > 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_vdp