From fe6a74458e8e442ff384f0357969f0b18368e824 Mon Sep 17 00:00:00 2001 From: anakinxc Date: Tue, 23 Aug 2022 22:14:28 +0800 Subject: [PATCH] Fix stack-buffer-overflow --- yasl/mpctools/ot/aes_bench.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasl/mpctools/ot/aes_bench.cc b/yasl/mpctools/ot/aes_bench.cc index 7eb122fe..e0ed69ca 100644 --- a/yasl/mpctools/ot/aes_bench.cc +++ b/yasl/mpctools/ot/aes_bench.cc @@ -107,7 +107,7 @@ static void BM_EmpToolMultiAes(benchmark::State& state) { size_t n = state.range(0); state.ResumeTiming(); for (size_t i = 0; i < n; i++) { - emp::ParaEnc(plain_block, aes_key); + emp::ParaEnc(plain_block, aes_key); } } }