Re: [PATCH 3/9] AF_UNIX: create, join and leave multicast groupswith setsockopt

From: David Miller
Date: Mon Nov 22 2010 - 13:59:58 EST


From: Alban Crequy <alban.crequy@xxxxxxxxxxxxxxx>
Date: Mon, 22 Nov 2010 18:36:16 +0000

> + other = unix_find_other(sock_net(sock->sk), &mreq->address, namelen,
> + sock->type, hash, &err);
> + if (other)
> + return -EADDRINUSE;

Leaks 'other'.
--
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/