Re: [PATCH] net/core: Fix potential memory leak in dev_set_alias()

From: David Miller
Date: Wed Aug 08 2012 - 19:07:01 EST


From: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
Date: Wed, 8 Aug 2012 14:33:25 +0400

> 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>

Applied, thanks.
--
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/