diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-04-12 19:59:36 +0900 |
---|---|---|
committer | James Morris <jamorris@linux.microsoft.com> | 2019-05-10 14:58:25 -0700 |
commit | e6193f78bb689f3f424559bb45f4a091c8b314df (patch) | |
tree | 8c51acf92c910b500cd4622df6e11b949de7118b /security/tomoyo/realpath.c | |
parent | e80b18599a39a625bc8b2e39ba3004a62f78805a (diff) | |
download | linux-e6193f78bb689f3f424559bb45f4a091c8b314df.tar.bz2 |
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/tomoyo/realpath.c')
0 files changed, 0 insertions, 0 deletions