]> err.no Git - linux-2.6/commit
[SCTP]: Fix NULL dereference of asoc.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 29 May 2008 10:55:05 +0000 (19:55 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:30 +0000 (04:02 +0900)
commite51171019bb0e1f9fb57c25bd2e38ce652eaea27
tree6adf7c9e23c54de5a2b361c8e59d692a29e7541e
parent7dccf1f4e1696c79bff064c3770867cc53cbc71c
[SCTP]: Fix NULL dereference of asoc.

Commit 7cbca67c073263c179f605bdbbdc565ab29d801d ("[IPV6]: Support
Source Address Selection API (RFC5014)") introduced NULL dereference
of asoc to sctp_v6_get_saddr in net/sctp/ipv6.c.
Pointed out by Johann Felix Soden <johfel@users.sourceforge.net>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/sctp/structs.h
net/sctp/ipv6.c
net/sctp/protocol.c
net/sctp/transport.c