Forum: Ruby-dev Fix segfault with old OpenSSL

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C91c77ba3578511cb7e67bedf535d457?d=identicon&s=25 unknown (Guest)
on 2014-04-28 21:54
(Received via mailing list)
Issue #9592 has been updated by Nathan Youngman.

We saw this error in production with Ruby 2.1.1p76 on Heroku, but I
don't know how to reproduce it. Is a backport to 2.1.1 planned? Or
including the fix in 2.1.2?

Apr 22 08:03:01 app/worker.1:
/app/vendor/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:920: [BUG]
Segmentation fault at 0x00000000000000
Apr 22 08:03:01 app/worker.1:  ruby 2.1.1p76 (2014-02-24 revision 45161)

Bug #9592: Fix segfault with old OpenSSL

* Author: Nobuyoshi Nakada
* 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することがあります。

$ ruby -rnet/https -e
/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 で修正したのでバックポートをお願いします。
This topic is locked and can not be replied to.