Skip to content
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

fixed keyring-related memory leaks #2

Merged
merged 1 commit into from Nov 7, 2013

Conversation

dismantl
Copy link

@dismantl dismantl commented Nov 1, 2013

to test:

  1. build serval-crypto against this version of serval-dna
  2. make sure servald is running, and has only one key in its keyring
  3. With Valgrind, run either the signing function (valgrind --leak-check=yes --show-reachable=yes ./serval-crypto --sign -i <SID> -m <MSG>) or verify function (valgrind --leak-check=yes --show-reachable=yes ./ serval-crypto --verify -i <SID> -m <MSG> -s <SIG>).
  4. Valgrind should report 0 bytes {definitely,indirectly,possibly} lost (though there will be some blocks still reachable).

@dismantl dismantl merged commit 5fa8c98 into commotion-wireless Nov 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant