diff options
author | Alexander Potapenko <glider@google.com> | 2017-03-08 20:08:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 12:07:18 +0300 |
commit | ae0ebdba96674c278674d2b12eedde0681e42f91 (patch) | |
tree | 1c2e662cf8e4e56a52ab68d16b1823f0fac5aa86 /.cocciconfig | |
parent | 6783015096dc66dee0035baeec410f16b6ee2d84 (diff) | |
download | linux-ae0ebdba96674c278674d2b12eedde0681e42f91.tar.xz |
net: initialize msg.msg_flags in recvfrom
[ Upstream commit 9f138fa609c47403374a862a08a41394be53d461 ]
KMSAN reports a use of uninitialized memory in put_cmsg() because
msg.msg_flags in recvfrom haven't been initialized properly.
The flag values don't affect the result on this path, but it's still a
good idea to initialize them explicitly.
Signed-off-by: Alexander Potapenko <glider@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions