[ruby-core:76036] [Ruby trunk Bug#9677][Third Party's Issue] OpenSSL::PKey::EC#to_text causes a segmentation fault
From:
k@...
Date:
2016-06-15 14:04:23 UTC
List:
ruby-core #76036
Issue #9677 has been updated by Kazuki Yamaguchi.
Status changed from Open to Third Party's Issue
This is OpenSSL RT3065, and fixed in OpenSSL 1.0.0o, 1.0.1j and 1.0.2.
https://rt.openssl.org/Ticket/Display.html?id=3065
I think this is no longer an issue so I'm closing this, but let me know if this still occurs.
----------------------------------------
Bug #9677: OpenSSL::PKey::EC#to_text causes a segmentation fault
https://bugs.ruby-lang.org/issues/9677#change-59237
* Author: David Grayson
* Status: Third Party's Issue
* Priority: Normal
* Assignee: openssl
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I have Ruby 2.1.1p76 and when I try to run a particular snippet of code using the OpenSSL extension, I get a segmentation fault. I am running Arch Linux and I have openssl 1.0.1.f-1. I built Ruby from source. This bug also affects Ruby 2.1.0.
Here is a snippet of shell output showing the Ruby command that causes the problem:
~~~
$ ruby -v -ropenssl -e "OpenSSL::PKey::EC.new('secp256k1').to_text"
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
-e:1: [BUG] Segmentation fault at 0x00000000000000
...
~~~
I attached a text file with the full output from Ruby to this bug report.
This other OpenSSL segmentation fault issue might be related:
https://bugs.ruby-lang.org/issues/9592
---Files--------------------------------
openssl_to_text_segfault.txt (15.7 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>