diff options
author | Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> | 2019-04-12 19:59:34 +0900 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-04-15 12:42:06 -0400 |
commit | c750e6929d3c76d13d1d0ba475989d6dd74785d5 (patch) | |
tree | 359f0254a7f431ce565de023339b2ee3e8cf6be4 /fs/proc | |
parent | 1537ad15c9c59ce852748578eb5633139053e86b (diff) |
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions