Re: [PATCH] bpf: Check for integer overflow when using roundup_pow_of_two()

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

 



Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Wed, 27 Jan 2021 06:36:53 +0000 you wrote:
> On 32-bit architecture, roundup_pow_of_two() can return 0 when the argument
> has upper most bit set due to resulting 1UL << 32. Add a check for this
> case.
> 
> Fixes: d5a3b1f ("bpf: introduce BPF_MAP_TYPE_STACK_TRACE")
> Signed-off-by: Bui Quang Minh <minhquangbui99@xxxxxxxxx>
> 
> [...]

Here is the summary with links:
  - bpf: Check for integer overflow when using roundup_pow_of_two()
    https://git.kernel.org/bpf/bpf/c/6183f4d3a0a2

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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux