diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-07-08 17:59:54 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-07-18 20:52:00 +1000 |
commit | 962ddc5a7a4b04c007bba0f3e7298cda13c62efd (patch) | |
tree | 541459cb226120bc1f3c7e18ef7ee82da63eebbf /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3d9eb180fbe8828cce43bce4c370124685b205c3 (diff) |
crypto: acomp - Fix CFI failure due to type punning
To avoid a crash when control flow integrity is enabled, make the
workspace ("stream") free function use a consistent type, and call it
through a function pointer that has that same type.
Fixes: 42d9f6c77479 ("crypto: acomp - Move scomp stream allocation code into acomp")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions