-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merkle Tree: Memory leaks #3
Comments
Thanks for the remark: it is a mistake and I'll push a fix soon. |
Awesome, many thanks @Kachoc! |
The following PR has just been merged and should fix the issue: hacl-star/hacl-star#347 |
Thanks for the quick fix @kachoc! That particular leak is gone, but there are others, e.g.
I wasn't able to figure out whether that's a bug in the Merkle trees or in EverCrypt yet. |
Thanks for the feedback! I'll have a look to check for forgotten calls to |
I'm pretty sure it's |
We're seeing a bunch of memory leaks in CCF again. I think it was 9fb8ae67554ad21bdf56277bb2b5afe3d7f82417 and the following snapshot in 1cf6f496a347b8740be8caf4af96b7c66fbd87f6, which removed
KRML_HOST_FREE(s);
fromEverCrypt_Hash_free
, so the state objects aren't freed anymore.Was this removed intentionally? If so, will we have to call
EverCrypt_Hash_Incremental_free
manually whenever a hash object is deleted? Will we have to track whether it's an incremental or non-incremental object too?Relates to microsoft/CCF#1576
The text was updated successfully, but these errors were encountered: