Re: [PATCH net] ax25: uninitialized variable in ax25_setsockopt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Fri, 7 Jan 2022 10:13:12 +0300 you wrote:
> The "opt" variable is unsigned long but we only copy 4 bytes from
> the user so the lower 4 bytes are uninitialized.
> 
> I have changed the integer overflow checks from ULONG to UINT as well.
> This is a slight API change but I don't expect it to break anything.
> 
> Fixes: a7b75c5a8c41 ("net: pass a sockptr_t into ->setsockopt")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> [...]

Here is the summary with links:
  - [net] ax25: uninitialized variable in ax25_setsockopt()
    https://git.kernel.org/netdev/net/c/9371937092d5

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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux