diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-04-12 13:55:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 20:25:03 +0300 |
commit | c68e747d0a98f44a4e49071940a692fa83630e47 (patch) | |
tree | af5b48598d2420d3389c044b8d61b6fc3e1c2067 /net/core | |
parent | bd7d46ddca06f1fadd68ceb99bc6e6f808ab50f2 (diff) | |
download | linux-c68e747d0a98f44a4e49071940a692fa83630e47.tar.xz |
llc: Check address length before reading address field
KMSAN will complain if valid address length passed to bind() is shorter
than sizeof(struct sockaddr_llc) 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/core')
0 files changed, 0 insertions, 0 deletions