fb38a1c5dc (master): [ruby/openssl] pkey: fix memory leak when derived key is too large

1 view
Skip to first unread message

Nora Dossche

unread,
Apr 17, 2026, 12:56:40 PM (4 days ago) Apr 17
to ruby...@g.ruby-lang.org
Nora Dossche 2026-04-17 06:03:49 +0000 (Fri, 17 Apr 2026)

New Revision: fb38a1c5dc

https://github.com/ruby/ruby/commit/fb38a1c5dc

Log:
[ruby/openssl] pkey: fix memory leak when derived key is too large

Unlikely to happen in practice, but mirrors other similar checks that
also free the context.

https://github.com/ruby/openssl/commit/fd28a16519

Modified files:
ext/openssl/ossl_pkey.c
Reply all
Reply to author
Forward
0 new messages