Project

General

Profile

Bug #14087

Program Crash when using openssl

Added by Berry (Berry Jin) over 1 year ago. Updated over 1 year ago.

Status:
Third Party's Issue
Priority:
Normal
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

History

Updated by rhenium (Kazuki Yamaguchi) over 1 year 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

Also available in: Atom PDF