summaryrefslogtreecommitdiffstats
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2022-03-04 21:25:36 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-05 12:04:14 +0000
commitc6a502c2299941c8326d029cfc8a3bc8a4607ad5 (patch)
treeceac43f3f5a0351f3724fb8960e6765de19647c9 /crypto/cast5_generic.c
parenta502a8f04097e038c3daa16c5202a9538116d563 (diff)
downloadlinux-stable-c6a502c2299941c8326d029cfc8a3bc8a4607ad5.tar.gz
linux-stable-c6a502c2299941c8326d029cfc8a3bc8a4607ad5.tar.bz2
linux-stable-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 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions