aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-19 23:30:57 +0300
committerAdrian Bunk <bunk@kernel.org>2008-07-19 23:31:06 +0300
commit423044bed36af8792ea9e861a2fa33ed52a8fcbd (patch)
tree75881c793a109909bb1150c9efe5fe0620c30908 /scripts/patch-kernel
parenta203d3ccd131487b38094c3f5f4fb4f2fed593d7 (diff)
sctp: Make sure N * sizeof(union sctp_addr) does not overflow. (CVE-2008-2826)
As noticed by Gabriel Campana, the kmalloc() length arg passed in by sctp_getsockopt_local_addrs_old() can overflow if ->addr_num is large enough. Therefore, enforce an appropriate limit. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions