diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2005-11-11 16:05:55 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-11 16:05:55 -0800 |
commit | 23ec47a0889dabf4b9e7f8d52e848194734159ee (patch) | |
tree | 1b8afadde8b3a60405163b60436897e1746084a2 /net/sctp/endpointola.c | |
parent | 8eb55910521f3449a8125a38dd32fb676703395d (diff) |
[SCTP]: Fix potential NULL pointer dereference in sctp_v4_get_saddr
It is possible to get to sctp_v4_get_saddr() without a valid
association. This happens when processing OOTB packets and
the cached route entry is no longer valid.
However, when responding to OOTB packets we already properly
set the source address based on the information in the OOTB
packet. So, if we we get to sctp_v4_get_saddr() without an
association we can simply return.
Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/endpointola.c')
0 files changed, 0 insertions, 0 deletions