sctp: fix random memory dereference with SCTP_HMAC_IDENT option.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 27 Aug 2008 23:09:49 +0000 (16:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Aug 2008 23:09:49 +0000 (16:09 -0700)
The number of identifiers needs to be checked against the option
length.  Also, the identifier index provided needs to be verified
to make sure that it doesn't exceed the bounds of the array.

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

No differences found