summaryrefslogtreecommitdiff
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2018-12-23 00:53:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-09 18:16:40 +0300
commit84e1bfdecaaf52efa7da3a74a51f10facde6d95d (patch)
tree889d507756105e3bf98f078506100998aef8b293 /drivers/lightnvm
parent3ddf35c6983b1878b5289829791d87437a8e0d32 (diff)
downloadlinux-84e1bfdecaaf52efa7da3a74a51f10facde6d95d.tar.xz
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 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions