summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2019-04-12 12:55:47 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-12 19:25:03 +0200
commitba024f2574a19557f92116ec6be129b26ae66e97 (patch)
tree477971c04d8cc2ee30b7f8a1e94ecffd709232cd /net/ipv6/udp.c
parentllc: Check address length before reading address field (diff)
downloadlinux-ba024f2574a19557f92116ec6be129b26ae66e97.tar.xz
linux-ba024f2574a19557f92116ec6be129b26ae66e97.zip
bpf: Check address length before reading address family
KMSAN will complain if valid address length passed to bpf_bind() is shorter than sizeof("struct sockaddr"->sa_family) bytes. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions