aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2023-12-14 11:08:34 +0800
committerHerbert Xu <[email protected]>2023-12-22 12:30:19 +0800
commitba3c5574203034781ac4231acf117da917efcd2a (patch)
tree2588f4eb98134fc5a03fe91458cd06815416a7c4 /tools/perf/scripts/python
parentae3bed72ac00e07637bd9e40fce84ff1a20fbf3d (diff)
crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
When the mpi_ec_ctx structure is initialized, some fields are not cleared, causing a crash when referencing the field when the structure was released. Initially, this issue was ignored because memory for mpi_ec_ctx is allocated with the __GFP_ZERO flag. For example, this error will be triggered when calculating the Za value for SM2 separately. Fixes: d58bb7e55a8a ("lib/mpi: Introduce ec implementation to MPI library") Cc: [email protected] # v6.5 Signed-off-by: Tianjia Zhang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions