Skip to content

Conversation

@rhenium
Copy link
Member

@rhenium rhenium commented Sep 2, 2022

i2d_PUBKEY_bio() against an EC_KEY without the public key component
trggers a null dereference.

This is a regression introduced by commit 56f0d34 ("pkey:
refactor #export/#to_pem and #to_der", 2017-06-14).

Fixes #527 (comment)
Fixes #369 (comment)

i2d_PUBKEY_bio() against an EC_KEY without the public key component
trggers a null dereference.

This is a regression introduced by commit 56f0d34 ("pkey:
refactor #export/#to_pem and #to_der", 2017-06-14).

Fixes ruby#527 (comment)
Fixes ruby#369 (comment)
@rhenium rhenium merged commit f54b5e5 into ruby:maint-3.0 Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant