commit | 5e739d1752aca4e8f3e794d431503bfca3162df4 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Thu Aug 21 03:34:25 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 21 03:34:25 2008 -0700 |
tree | c5bdef49d12fbd4bb0eae6fca102607346390cb5 | |
parent | 6a55617ed5d1aa62b850de2cf66f5ede2eef4825 [diff] |
sctp: fix potential panics in the SCTP-AUTH API. All of the SCTP-AUTH socket options could cause a panic if the extension is disabled and the API is envoked. Additionally, there were some additional assumptions that certain pointers would always be valid which may not always be the case. This patch hardens the API and address all of the crash scenarios. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>