]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sctp: add verification checks to SCTP_AUTH_KEY option
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 28 Aug 2008 05:41:52 +0000 (22:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Sep 2008 10:20:21 +0000 (03:20 -0700)
commit1c6f8e1945a2b8317e5dad8fb5cfc882bd35b2b8
tree56ff25c9c6de91c9cdff86593d882ae2be7c55a2
parenta1d348ddecaee92e74c27ccd69c325f4ce01d95f
sctp: add verification checks to SCTP_AUTH_KEY option

[ Upstream commit 30c2235cbc477d4629983d440cdc4f496fec9246 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sctp/auth.c
net/sctp/socket.c