[ldv-project] [PATCH] mISDN: Fix memory leak in dsp_pipeline_build()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Sat Mar 5 15:10:09 MSK 2022
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:
On Fri, 4 Mar 2022 21:25:36 +0300 you wrote:
> dsp_pipeline_build() allocates dup pointer by kstrdup(cfg),
> but then it updates dup variable by strsep(&dup, "|").
> As a result when it calls kfree(dup), the dup variable contains NULL.
>
> Found by Linux Driver Verification project (linuxtesting.org) with SVACE.
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
> Fixes: 960366cf8dbb ("Add mISDN DSP")
>
> [...]
Here is the summary with links:
- mISDN: Fix memory leak in dsp_pipeline_build()
https://git.kernel.org/netdev/net/c/c6a502c22999
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the ldv-project
mailing list