diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-04-12 12:59:36 +0200 |
---|---|---|
committer | James Morris <jamorris@linux.microsoft.com> | 2019-05-10 23:58:25 +0200 |
commit | e6193f78bb689f3f424559bb45f4a091c8b314df (patch) | |
tree | 8c51acf92c910b500cd4622df6e11b949de7118b /security/security.c | |
parent | tomoyo: Add a kernel config option for fuzzing testing. (diff) | |
download | linux-e6193f78bb689f3f424559bb45f4a091c8b314df.tar.xz linux-e6193f78bb689f3f424559bb45f4a091c8b314df.zip |
tomoyo: Check address length before reading address family
KMSAN will complain if valid address length passed to bind()/connect()/
sendmsg() is shorter than sizeof("struct sockaddr"->sa_family) bytes.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jamorris@linux.microsoft.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions