diff options
author | 2022-03-04 21:25:36 +0300 | |
---|---|---|
committer | 2022-03-05 12:04:14 +0000 | |
commit | c6a502c2299941c8326d029cfc8a3bc8a4607ad5 (patch) | |
tree | ceac43f3f5a0351f3724fb8960e6765de19647c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: meson-gxl: fix interrupt handling in forced mode (diff) | |
download | linux-dev-c6a502c2299941c8326d029cfc8a3bc8a4607ad5.tar.xz linux-dev-c6a502c2299941c8326d029cfc8a3bc8a4607ad5.zip |
mISDN: Fix memory leak in dsp_pipeline_build()
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")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions