mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
mbedtls_oid_get_numeric_string previously capped OID subidentifiers at UINT_MAX, returning MBEDTLS_ERR_ASN1_INVALID_DATA for valid, conformant OIDs carrying wider values (such as standard ITU-T X.667 128-bit UUID arcs or arcs > 2^32). Add multi-precision base-128 to base-10 conversion for subidentifiers exceeding 32 bits while retaining the fast integer path for standard subidentifiers. Update test suite with wide subidentifiers including the ITU-T X.667 UUID test vector. Fixes #11001. Signed-off-by: Ankit-cs <ankitcareer018@gmail.com>
4 lines
161 B
Plaintext
4 lines
161 B
Plaintext
Bugfix
|
|
* In mbedtls_oid_get_numeric_string(), allow OID subidentifiers wider
|
|
than 32 bits instead of rejecting them as invalid ASN.1 data. Fixes #11001.
|