Skip to content

Fix memory leaks in ext/sodium on failure of some functions #14309

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

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

Infallible in practice right now, but should be fixed as infallible today does not mean infallible tomorrow:

  • sodium_crypto_sign_publickey_from_secretkey
  • sodium_crypto_kx_seed_keypair
  • sodium_crypto_kx_keypair
  • sodium_crypto_auth
  • sodium_crypto_sign_ed25519_sk_to_curve25519
  • sodium_pad

Fallible today:

  • sodium_crypto_sign_ed25519_pk_to_curve25519

Infallible in practice right now, but should be fixed as infallible today does not mean infallible tomorrow:
- sodium_crypto_sign_publickey_from_secretkey
- sodium_crypto_kx_seed_keypair
- sodium_crypto_kx_keypair
- sodium_crypto_auth
- sodium_crypto_sign_ed25519_sk_to_curve25519
- sodium_pad

Fallible today:
- sodium_crypto_sign_ed25519_pk_to_curve25519
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSTM

@nielsdos nielsdos closed this in 4da4610 May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants