Re: [PATCH] vhost-user-gpu: reorder free calls.

2021-06-05 Thread Li Qiang
Gerd Hoffmann 于2021年6月4日周五 下午6:37写道: > > Free in correct order to avoid use-after-free. > > Resolves: CID 1453812 > Signed-off-by: Gerd Hoffmann Sorry, my fault. Reviewed-by: Li Qiang > --- > contrib/vhost-user-gpu/vhost-user-gpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] vhost-user-gpu: reorder free calls.

2021-06-04 Thread Philippe Mathieu-Daudé
On 6/4/21 12:37 PM, Gerd Hoffmann wrote: > Free in correct order to avoid use-after-free. > > Resolves: CID 1453812 > Signed-off-by: Gerd Hoffmann > --- > contrib/vhost-user-gpu/vhost-user-gpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH] vhost-user-gpu: reorder free calls.

2021-06-04 Thread Marc-André Lureau
On Fri, Jun 4, 2021 at 2:38 PM Gerd Hoffmann wrote: > Free in correct order to avoid use-after-free. > > Resolves: CID 1453812 > Signed-off-by: Gerd Hoffmann > Reviewed-by: Marc-André Lureau --- > contrib/vhost-user-gpu/vhost-user-gpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] vhost-user-gpu: reorder free calls.

2021-06-04 Thread Gerd Hoffmann
Free in correct order to avoid use-after-free. Resolves: CID 1453812 Signed-off-by: Gerd Hoffmann --- contrib/vhost-user-gpu/vhost-user-gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/vhost-user-gpu/vhost-user-gpu.c b/contrib/vhost-user-gpu/vhost-user-gpu.c ind