..@redhat.com; Peng, Chao P
> >
> >Subject: Re: [PATCH] vfio/pci: Fix a use-after-free issue
> >
> >On 5/16/23 05:43, Zhenzhong Duan wrote:
> >> We should free the duplicated variant of vbasedev->name plus uuid
> >> rather than vbasedev->name itsel
>-Original Message-
>From: Cédric Le Goater
>Sent: Tuesday, May 16, 2023 4:58 PM
>To: Duan, Zhenzhong ; qemu-
>de...@nongnu.org
>Cc: minwoo...@samsung.com; alex.william...@redhat.com; Peng, Chao P
>
>Subject: Re: [PATCH] vfio/pci: Fix a use-after-free i
On 5/16/23 05:43, Zhenzhong Duan wrote:
We should free the duplicated variant of vbasedev->name plus uuid
rather than vbasedev->name itself.
Fixes: 2dca1b37a7 ("vfio/pci: add support for VF toke")
"toke" -> "token"
Signed-off-by: Zhenzhong Duan
---
hw/vfio/pci.c | 4 +++-
1 file changed,
We should free the duplicated variant of vbasedev->name plus uuid
rather than vbasedev->name itself.
Fixes: 2dca1b37a7 ("vfio/pci: add support for VF toke")
Signed-off-by: Zhenzhong Duan
---
hw/vfio/pci.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/vfio/pci.c b/hw/v