And a small understanding.
We are supplying buffer is about to 128 bytes to fill the converted message,
So, if the obj(ASN1_OBJECT) size is more than that(supplied buffer) size
OBJ_obj2txt will do truncate and will return the obj(ASN1_OBJECT) message
length. It results in more than 128(returned length) bytes. Because of this
crash is happening.
In which scenario the OBJ_obj2txt() truncates the supplied message.
View this message in context:
Sent from the OpenSSL - User mailing list archive at Nabble.com.
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users