[PATCH] drm/virtio: Fix a double free in virtio_gpu_cmd_map()
Gerd Hoffmann
kraxel at redhat.com
Fri Nov 6 08:25:05 UTC 2020
On Fri, Oct 30, 2020 at 02:48:08PM +0300, Dan Carpenter wrote:
> This is freed both here and in the caller (virtio_gpu_vram_map()) so
> it's a double free. The correct place is only in the caller.
>
> Fixes: 16845c5d5409 ("drm/virtio: implement blob resources: implement vram object")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Pushed to drm-misc-next.
thanks,
Gerd
More information about the dri-devel
mailing list