Displaying 1 result from an estimated 1 matches for "1ce9e6055fa0".
2019 Mar 12
0
[PATCH] virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
On 2019/3/12 ??3:06, Yue Haibing wrote:
> From: YueHaibing <yuehaibing at huawei.com>
>
> 'desc' should be freed before leaving from err handing path.
>
> Fixes: 1ce9e6055fa0 ("virtio_ring: introduce packed ring support")
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---
> drivers/virtio/virtio_ring.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
> i...