]> err.no Git - linux-2.6/commit
[NETLINK]: Fix use after free in netlink_recvmsg
authorPatrick McHardy <kaber@trash.net>
Thu, 3 May 2007 10:27:01 +0000 (03:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:27:01 +0000 (03:27 -0700)
commit188ccb5583b8f501e1d0f5ba4f056afa141694e7
tree3df30fcc6e333048517e79a3ec3a49b98617f447
parent3f660d66dfbc13ea4b61d3865851b348444c24b4
[NETLINK]: Fix use after free in netlink_recvmsg

When the user passes in MSG_TRUNC the skb is used after getting freed.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c