• Andres AG's avatar
    Fix buffer overflow in mbedtls_mpi_write_string() · d1cc7f6f
    Andres AG authored
    Fix a buffer overflow when writting a string representation of an MPI
    number to a buffer in hexadecimal. The problem occurs because hex
    digits are written in pairs and this is not accounted for in the
    calculation of the required buffer size when the number of digits is
    odd.
    d1cc7f6f