Re: [PATCH] mISDN: Fix memory leak in dsp_pipeline_build()
From: patchwork-bot+netdevbpf
Date: Sat Mar 05 2022 - 07:16:55 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
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@xxxxxxxxx>
> 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