Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:
On Mon, 14 Feb 2022 18:05:41 -0800 you wrote:
From: Tom Rix <trix@redhat.com>
Clang static analysis reports this problem
route.c:425:4: warning: Use of memory after it is freed
trace_mctp_key_acquire(key);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
When mctp_key_add() fails, key is freed but then is later
used in trace_mctp_key_acquire(). Add an else statement
to use the key only when mctp_key_add() is successful.
[...]
Here is the summary with links:
- [v2] mctp: fix use after free
https://git.kernel.org/netdev/net/c/7e5b6a5c8c44
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html