You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
The dps-micro DPS_CreateKeyStore() method is called by DPS_CreateNode().
DPS_CreateKeyStore()
creates a static variable for the keystore and returns a pointer to it. Then, when we destroy the node, we call DPS_DestroyKeyStore() and try to free various parts of the static keystore. This can (will?) segfault on some (all?) systems.We could allocate the keystore on the heap instead, or if it needs to be static, we can reinitialize the keystore to zero when destroying it.
The text was updated successfully, but these errors were encountered: