Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/crypto-perf: fix AAD template copy overrun
[ upstream commit 49c19c9 ] This patch fixes a possible buffer overrun problem in crypto perf test. Previously when user configured AAD size is over 12 bytes the copy of template AAD will cause a buffer overrun. The problem is fixed by only copy up to 12 bytes of AAD template. Fixes: 8a5b494 ("app/test-crypto-perf: add AEAD parameters") Signed-off-by: Przemyslaw Zegan <przemyslawx.zegan@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
- Loading branch information