wiced_tls_deinit_identity crash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I'm writing a WICED application.

It seem that any call to wiced_tls_deinit_identity() will cause a crash when trying to free the RSA key in wiced_tls.c:

if ( tls_identity->private_key.common.type == TLS_RSA_KEY )

{

rsa_free( (rsa_context*)&tls_identity->private_key.rsa );

}

I noticed that in your MQTT implementation you never call wiced_tls_deinit_identity(), is there any known issue with it?

Cheers,

Matteo

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

Can someone help to explain about the usage of wiced_tls_deinit_identity().

It looks like a memory leak if not calling wiced_tls_deinit_identity().

But if wiced_tls_deinit_identity() is called, system crash as matteo point out.

0 Likes
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Presently no, we will look at the issue and provide a solution if issue exists.

0 Likes