summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2018-12-22 16:53:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-13 10:05:28 +0100
commit33a083483c24fddc2ece3c2d322a6fc39ae9f8b6 (patch)
tree15a8b391a2b93869968e1ae9422658c2cd6e73b2 /net/sctp
parent5b4dc608f82a7f2504619b3889334e0b621d84b5 (diff)
packet: validate address length if non-zero
[ Upstream commit 6b8d95f1795c42161dc0984b6863e95d6acf24ed ] Validate packet socket address length if a length is given. Zero length is equivalent to not setting an address. Fixes: 99137b7888f4 ("packet: validate address length") Reported-by: Ido Schimmel <idosch@idosch.org> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions