# Fix segfault with old OpenSSL

**URL:** <https://www.ruby-forum.com/t/fix-segfault-with-old-openssl/240770>\
**Category:** Development\
**Created:** [April 29, 2014, 11:27pm UTC](https://www.ruby-forum.com/t/fix-segfault-with-old-openssl/240770 "2014-04-29T23:27:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 29, 2014, 11:27pm UTC](https://www.ruby-forum.com/t/fix-segfault-with-old-openssl/240770/1 "2014-04-29T23:27:15Z")

</div>

Issue #9592 has been updated by Nathan Youngman.

Nobuyoshi N. wrote:

> I suspect it occurs only with very old version OpenSSL, I can’t reproduce it on  
> other platforms at least.

Yes, Heroku is running OpenSSL 0.9.8k 25 Mar 2009 on their Cedar stack.  
(heroku run openssl version)

> It is planned to backport to 2.1, and the next 2.1 will be 2.1.2.

Thanks. Looking forward to 2.1.2.

* * *

Bug #9592: Fix segfault with old OpenSSL

> **[Bug #9592: Fix segfault with old OpenSSL - Ruby master - Ruby Issue Tracking...](https://bugs.ruby-lang.org/issues/9592#change-46373)**
>
> Redmine

- Author: Nobuyoshi N.
- Status: Closed
- Priority: Normal
- Assignee:
- Category: ext/openssl
- Target version: current: 2.2.0
- ruby -v: r45270
- Backport: 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED

* * *

r44572 以降、古いOpenSSL(0.9.8kで確認)で、SSL connectionに失敗したときにSEGVすることがあります。

```sh
$ ruby -rnet/https -e 
'Net::HTTP.get(URI("https://brandymelvilleusa.com"))'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:918: [BUG] 
Segmentation fault
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-linux]

```

r45271 で修正したのでバックポートをお願いします。
