Anonymous
Not applicable
Mar 01, 2016
08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 01, 2016
08:02 AM
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
Labels
- Labels:
-
SDK 3.x
2 Replies
Anonymous
Not applicable
Mar 20, 2016
10:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 20, 2016
10:03 PM
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.
Mar 21, 2016
09:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 21, 2016
09:47 PM
Presently no, we will look at the issue and provide a solution if issue exists.