diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-21 05:04:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-21 05:04:34 (GMT) |
commit | 735ce972fbc8a65fb17788debd7bbe7b4383cc62 (patch) | |
tree | b047160a720011021b148350e42d8cc020f06a61 /CREDITS | |
parent | 2645a3c3761ac25498db2e627271016c849c68e1 (diff) | |
download | linux-fsl-qoriq-735ce972fbc8a65fb17788debd7bbe7b4383cc62.tar.xz |
sctp: Make sure N * sizeof(union sctp_addr) does not overflow.
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>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions