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

2012-08-08 Thread David Miller
From: Alexey Khoroshilov 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 Applied, thanks. -- To unsubscribe

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

2012-08-08 Thread Alexey Khoroshilov
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 --- net/core/dev.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/core/dev.c

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

2012-08-08 Thread Alexey Khoroshilov
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 khoroshi...@ispras.ru --- net/core/dev.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

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

2012-08-08 Thread David Miller
From: Alexey Khoroshilov khoroshi...@ispras.ru 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 khoroshi...@ispras.ru