db14a9d180
Fix undefined behavior (typically harmless in practice) of mbedtls_mpi_add_mpi(), mbedtls_mpi_add_abs() and mbedtls_mpi_add_int() when both operands are 0 and the left operand is represented with 0 limbs. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
4 lines
227 B
Text
4 lines
227 B
Text
Bugfix
|
|
* Fix undefined behavior (typically harmless in practice) of
|
|
mbedtls_mpi_add_mpi(), mbedtls_mpi_add_abs() and mbedtls_mpi_add_int()
|
|
when both operands are 0 and the left operand is represented with 0 limbs.
|