commit | e6193f78bb689f3f424559bb45f4a091c8b314df | [log] [tgz] |
---|---|---|
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | Fri Apr 12 19:59:36 2019 +0900 |
committer | James Morris <jamorris@linux.microsoft.com> | Fri May 10 14:58:25 2019 -0700 |
tree | 8c51acf92c910b500cd4622df6e11b949de7118b | |
parent | e80b18599a39a625bc8b2e39ba3004a62f78805a [diff] |
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>