Skip to content

Commit

Permalink
Fix stack-buffer-overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Aug 23, 2022
1 parent c3ab1c1 commit fe6a744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yasl/mpctools/ot/aes_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<kKeyWidth, kKeyWidth>(plain_block, aes_key);
emp::ParaEnc<kKeyWidth, 1>(plain_block, aes_key);
}
}
}
Expand Down

0 comments on commit fe6a744

Please sign in to comment.