summaryrefslogtreecommitdiffstats
path: root/net/qrtr
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2019-04-12 12:56:39 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-12 19:25:03 +0200
commitbddc028a4f2ac8cf4d0cd1c696b5f95d8305a553 (patch)
tree22ffe3c231a56ec63e3296cd85141e27014ef339 /net/qrtr
parentbpf: Check address length before reading address family (diff)
downloadlinux-bddc028a4f2ac8cf4d0cd1c696b5f95d8305a553.tar.xz
linux-bddc028a4f2ac8cf4d0cd1c696b5f95d8305a553.zip
udpv6: Check address length before reading address family
KMSAN will complain if valid address length passed to udpv6_pre_connect() is shorter than sizeof("struct sockaddr"->sa_family) bytes. (This patch is bogus if it is guaranteed that udpv6_pre_connect() is always called after checking "struct sockaddr"->sa_family. In that case, we want a comment why we don't need to check valid address length here.) Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions