[PATCH v3 net] net: microchip: vcap api: Fix possible memory leak in vcap_decode_rule()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue Aug 4 18:20:21 PDT 2026
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Sat, 1 Aug 2026 11:25:05 +0530 you wrote:
> The memory allocated for struct vcap_rule_internal, keyfields and
> actionfields inside vcap_dup_rule() are not freed in some of the error
> paths in vcap_decode_rule(). Fix that by calling vcap_free_rule().
>
> Compile tested only. Issue found using a prototype static analysis tool
> built on top of the LLVM compiler infrastructure.
>
> [...]
Here is the summary with links:
- [v3,net] net: microchip: vcap api: Fix possible memory leak in vcap_decode_rule()
https://git.kernel.org/netdev/net-next/c/30ce0cb576b6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list