]> err.no Git - linux-2.6/commit
SCTP: Fix chunk acceptance when no authenticated chunks were listed.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 13:56:16 +0000 (08:56 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 15:17:42 +0000 (10:17 -0500)
commit555d3d5d2be13675490a80df0d7961551822ef1f
tree1ff1e56519885c0dfb5b5b79aa141792ea68d7ae
parent8ee4be37e8ac28e79ae673d441e83c1f51e7ecfd
SCTP: Fix chunk acceptance when no authenticated chunks were listed.

In the case where no autheticated chunks were specified, we were still
trying to verify that a given chunk needs authentication and doing so
incorrectly.  Add a check for parameter length to make sure we don't
try to use an empty auth_chunks parameter to verify against.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/auth.c