sctp: add verification checks to SCTP_AUTH_KEY option
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 25 Aug 2008 22:16:19 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 22:16:19 +0000 (15:16 -0700)
The structure used for SCTP_AUTH_KEY option contains a
length that needs to be verfied to prevent buffer overflow
conditions.  Spoted by Eugene Teo <eteo@redhat.com>.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found