diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-04-12 19:53:38 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 10:25:03 -0700 |
commit | d852be84770c0611f8b76bd7046c6a814c5b9f11 (patch) | |
tree | b3eed0119109bd2d11d1bc48bafd89ef75a1efd0 /net/rxrpc/af_rxrpc.c | |
parent | 175f7c1f01d30b2088491bee4636fbf846fb76ce (diff) |
net: netlink: Check address length before reading groups field
KMSAN will complain if valid address length passed to bind() is shorter
than sizeof(struct sockaddr_nl) bytes.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
0 files changed, 0 insertions, 0 deletions