blob: 564f9ac1b62e3025f09adfd8545bad301479a1d1 [file] [log] [blame]
Aaron M. Uckoaf67d2c2023-01-17 11:52:22 -05001Bugfix
2 * Fix mbedtls_mpi_sub_abs() to account for the possibility that the output
3 pointer could equal the first input pointer and if so to skip a memcpy()
4 call that would be redundant. Reported by Pascal Cuoq using TrustInSoft
5 Analyzer in #6701; observed independently by Aaron Ucko under Valgrind.