diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-04-12 13:53:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-12 20:25:03 +0300 |
commit | 175f7c1f01d30b2088491bee4636fbf846fb76ce (patch) | |
tree | f3e3d60992e26ca033d285e6d287abd5a29ef4c1 /fs/hpfs | |
parent | 238ffdc49ef98b15819cfd5e3fb23194e3ea3d39 (diff) | |
download | linux-175f7c1f01d30b2088491bee4636fbf846fb76ce.tar.xz |
sctp: Check address length before reading address family
KMSAN will complain if valid address length passed to connect() is shorter
than sizeof("struct sockaddr"->sa_family) bytes.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions