aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2025-04-08 04:20:34 +0000
committerHerbert Xu <[email protected]>2025-04-09 13:28:31 +0000
commitcfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4 (patch)
tree2b17d0fdac116469dea0467c6457f47e5f8b2957 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
parentcrypto: tegra - Fix IV usage for AES ECB (diff)
downloadkernel-cfb32c656eb7bf1d7a776b8793bb6baa6f58b5a4.tar.gz
kernel-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 <[email protected]> Fixes: 3d72ad46a23a ("crypto: acomp - Move stream management into scomp layer") Signed-off-by: Herbert Xu <[email protected]> Tested-by: Sourabh Jain <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions