mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 12:52:14 +01:00
SP int should be able to calculate size of encoded number for a radix of 10 when mp_int has all digits used. sp_radix_size declared a temporary mp_int of 1 greater than input. Don't need it 1 greater. Stack declaration of maximum plus one caused address sanitizer error. Changed temporary mp_int to be same size as input mp_int.