Re: [PATCH V3] net/ieee802154: fix uninit value bug in dgram_sendmsg

From: patchwork-bot+netdevbpf
Date: Fri Sep 16 2022 - 06:00:27 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 8 Sep 2022 20:19:27 +0800 you wrote:
> There is uninit value bug in dgram_sendmsg function in
> net/ieee802154/socket.c when the length of valid data pointed by the
> msg->msg_name isn't verified.
>
> We introducing a helper function ieee802154_sockaddr_check_size to
> check namelen. First we check there is addr_type in ieee802154_addr_sa.
> Then, we check namelen according to addr_type.
>
> [...]

Here is the summary with links:
- [V3] net/ieee802154: fix uninit value bug in dgram_sendmsg
https://git.kernel.org/netdev/net/c/94160108a70c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html