]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit30c2235cbc477d4629983d440cdc4f496fec9246
treec280fcf36c472f1a21a58f74a2dc76dbf337859e
parentf410a1fba7afa79d2992620e874a343fdba28332
sctp: add verification checks to SCTP_AUTH_KEY option

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>
net/sctp/auth.c
net/sctp/socket.c