Alexey Khoroshilov 7364e445f6 net/core: Fix potential memory leak in dev_set_alias()
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@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-08 16:06:23 -07:00
..
2012-04-02 04:33:44 -04:00
2012-06-05 15:32:15 -04:00
2010-11-28 18:24:14 -08:00
2012-07-22 23:58:00 +04:00
2012-01-17 10:31:12 -05:00
2012-07-16 22:31:34 -07:00