diff options
author | Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> | 2019-04-12 12:59:34 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-04-15 18:42:06 +0200 |
commit | c750e6929d3c76d13d1d0ba475989d6dd74785d5 (patch) | |
tree | 359f0254a7f431ce565de023339b2ee3e8cf6be4 /arch/s390/mm/pgalloc.c | |
parent | kernfs: fix xattr name handling in LSM helpers (diff) | |
download | linux-c750e6929d3c76d13d1d0ba475989d6dd74785d5.tar.xz linux-c750e6929d3c76d13d1d0ba475989d6dd74785d5.zip |
selinux: Check address length before reading address family
KMSAN will complain if valid address length passed to bind()/connect() is
shorter than sizeof("struct sockaddr"->sa_family) bytes.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'arch/s390/mm/pgalloc.c')
0 files changed, 0 insertions, 0 deletions