Re: [PATCH bpf-next] libbpf: Fix an unsigned < 0 bug

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Sun, 12 Jun 2022 22:43:14 -0700 you wrote:
> Andrii reported a bug with the following information:
>   2859 	if (enum64_placeholder_id == 0) {
>   2860 		enum64_placeholder_id = btf__add_int(btf, "enum64_placeholder", 1, 0);
>   >>>     CID 394804:  Control flow issues  (NO_EFFECT)
>   >>>     This less-than-zero comparison of an unsigned value is never true. "enum64_placeholder_id < 0U".
>   2861 		if (enum64_placeholder_id < 0)
>   2862 			return enum64_placeholder_id;
>   2863    	...
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: Fix an unsigned < 0 bug
    https://git.kernel.org/bpf/bpf-next/c/c49a44b39b31

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