mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-10 19:04:55 +00:00
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>
5 lines
227 B
Plaintext
5 lines
227 B
Plaintext
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.
|