diff options
author | Eric Dumazet <edumazet@google.com> | 2015-12-09 15:25:06 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-12 01:18:40 (GMT) |
commit | 9470e24f35ab81574da54e69df90c1eb4a96b43f (patch) | |
tree | f1ddb2ca0d9eb735f1fb9dbafc238b0d8f83b543 /COPYING | |
parent | d188ba86dd07a72ebebfa22fe9cb0b0572e57740 (diff) | |
download | linux-9470e24f35ab81574da54e69df90c1eb4a96b43f.tar.xz |
ipv6: sctp: clone options to avoid use after free
SCTP is lacking proper np->opt cloning at accept() time.
TCP and DCCP use ipv6_dup_options() helper, do the same
in SCTP.
We might later factorize this code in a common helper to avoid
future mistakes.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions