summaryrefslogtreecommitdiffstats
path: root/net/wanrouter
diff options
context:
space:
mode:
authorMatthew Daley <mattjd@gmail.com>2011-10-14 20:45:05 +0200
committerDavid S. Miller <davem@davemloft.net>2011-10-18 01:31:40 +0200
commit7f81e25befdfb3272345a2e775f520e1d515fa20 (patch)
tree02f02c9808a19c09977eebea9e3a9e2b3eac617f /net/wanrouter
parentx25: Handle undersized/fragmented skbs (diff)
downloadlinux-7f81e25befdfb3272345a2e775f520e1d515fa20.tar.xz
linux-7f81e25befdfb3272345a2e775f520e1d515fa20.zip
x25: Prevent skb overreads when checking call user data
x25_find_listener does not check that the amount of call user data given in the skb is big enough in per-socket comparisons, hence buffer overreads may occur. Fix this by adding a check. Signed-off-by: Matthew Daley <mattjd@gmail.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Andrew Hendry <andrew.hendry@gmail.com> Cc: stable <stable@kernel.org> Acked-by: Andrew Hendry <andrew.hendry@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions