Re: [PATCH] bio: Fix potential memory leak in bio_find_or_create_slab()

From: Jens Axboe
Date: Thu Aug 09 2012 - 09:19:53 EST


On 08/09/2012 07:52 AM, Alexey Khoroshilov wrote:
> Do not leak memory by updating pointer with potentially NULL realloc return value.
>
> Found by Linux Driver Verification project (linuxtesting.org).

Thanks, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/