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

From: Jeff Moyer
Date: Thu Aug 09 2012 - 09:16:05 EST


Alexey Khoroshilov <khoroshilov@xxxxxxxxx> writes:

> Do not leak memory by updating pointer with potentially NULL realloc return value.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>

Acked-by: Jeff Moyer <jmoyer@xxxxxxxxxx>
--
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/