diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-08-08 00:33:25 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-09-19 15:04:48 +0100 |
commit | 47be27f0e491483c16285ed023874929824b5190 (patch) | |
tree | 7796a06315590d3922a90bc37335581e8419f86d /net/unix/af_unix.c | |
parent | 3f37c3bd4cded42d856f5f9d40a830bfefa57b58 (diff) |
net/core: Fix potential memory leak in dev_set_alias()
[ Upstream commit 7364e445f62825758fa61195d237a5b8ecdd06ec ]
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions