Project

General

Profile

Actions

Bug #14087

closed

Program Crash when using openssl

Added by Berry (Berry Jin) over 6 years ago. Updated over 6 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
[ruby-core:83688]

Description

The interpreter crashed when I assign a DH public key to X509::Certificate using gem openssl.
And I have attached a demo for this problem.


Files

ruby_bug.rb (225 Bytes) ruby_bug.rb demo of the problem Berry (Berry Jin), 11/06/2017 02:55 PM

Updated by rhenium (Kazuki Yamaguchi) over 6 years ago

  • Status changed from Open to Third Party's Issue

Please note that OpenSSL::PKey::DH#public_key only copies the parameters, despite the name.

Still, it is a bug that it segfaults. A fix is here: https://github.com/ruby/openssl/pull/168

Actions

Also available in: Atom PDF

Like0
Like0