summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-08 12:20:34 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-09 21:28:31 +0800
commitcfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4 (patch)
tree2b17d0fdac116469dea0467c6457f47e5f8b2957 /tools/perf/scripts/python/bin/export-to-postgresql-record
parent1ddaff40c08abb926be5ba713c5efc412d0836c5 (diff)
downloadlinux-cfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4.tar.gz
linux-cfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4.tar.bz2
linux-cfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4.zip
crypto: scomp - Fix null-pointer deref when freeing streams
As the scomp streams are freed when an algorithm is unregistered, it is possible that the algorithm has never been used at all (e.g., an algorithm that does not have a self-test). So test whether the streams exist before freeing them. Reported-by: Sourabh Jain <sourabhjain@linux.ibm.com> Fixes: 3d72ad46a23a ("crypto: acomp - Move stream management into scomp layer") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Sourabh Jain <sourabhjain@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions