summaryrefslogtreecommitdiffstats
path: root/net/sctp/associola.c
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-03-02 09:46:12 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-02 22:49:17 -0800
commitc6db93a58f1745cfe1acc2e1a1d68afc3245eced (patch)
treeb4e88d10bc75fa6565d91202460fb3f0ed5cc7c5 /net/sctp/associola.c
parentd212318c9d1b11ff44b57f90b4f9d9c9b31a6ced (diff)
downloadop-kernel-dev-c6db93a58f1745cfe1acc2e1a1d68afc3245eced.zip
op-kernel-dev-c6db93a58f1745cfe1acc2e1a1d68afc3245eced.tar.gz
sctp: fix the length check in sctp_getsockopt_maxburst()
The code in sctp_getsockopt_maxburst() doesn't allow len to be larger then struct sctp_assoc_value, which is a common case where app writers just pass down the sizeof(buf) or something similar. This patch fix the problem. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/associola.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud