[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170309.172153.1200371456941480294.davem@davemloft.net>
Date: Thu, 09 Mar 2017 17:21:53 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: glider@...gle.com
Cc: dvyukov@...gle.com, kcc@...gle.com, edumazet@...gle.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] net: initialize msg.msg_flags in recvfrom
From: Alexander Potapenko <glider@...gle.com>
Date: Wed, 8 Mar 2017 18:08:16 +0100
> 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@...gle.com>
> ---
> Changes since v1:
> - removed KMSAN report and reproducer from the description
Applied, thank you.
Powered by blists - more mailing lists