]> git.baikalelectronics.ru Git - kernel.git/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)
commit9df43b2fd2cea88b9bcd2f0ebad41283282dd3a9
tree6adf7c9e23c54de5a2b361c8e59d692a29e7541e
parenta7e64e932bfd3423495441c6956410fe1e96f453
[SCTP]: Fix NULL dereference of asoc.

Commit b1f2a34cc00159b8b492a1896a7dc58b5cb32147 ("[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