Messages in this thread | | | Subject | Re: [PATCH] mISDN: Fix memory leak in dsp_pipeline_build() | From | patchwork-bot+netdevbpf@kernel ... | Date | Sat, 05 Mar 2022 12:10:09 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@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@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
| |