ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:48018] [ruby-trunk - Bug #9592] [Open] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
@ 2014-03-05  3:13 ` nobu
  2014-03-05  3:14 ` [ruby-dev:48019] [ruby-trunk - Bug #9592] " nobu
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: nobu @ 2014-03-05  3:13 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been reported by Nobuyoshi Nakada.

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 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で修正したのでバックポートをお願いします。



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48019] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
  2014-03-05  3:13 ` [ruby-dev:48018] [ruby-trunk - Bug #9592] [Open] Fix segfault with old OpenSSL nobu
@ 2014-03-05  3:14 ` nobu
  2014-03-11 23:46 ` [ruby-dev:48034] " nobu
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: nobu @ 2014-03-05  3:14 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Nobuyoshi Nakada.

Description updated

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-45627

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 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 で修正したのでバックポートをお願いします。



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48034] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
  2014-03-05  3:13 ` [ruby-dev:48018] [ruby-trunk - Bug #9592] [Open] Fix segfault with old OpenSSL nobu
  2014-03-05  3:14 ` [ruby-dev:48019] [ruby-trunk - Bug #9592] " nobu
@ 2014-03-11 23:46 ` nobu
  2014-03-30 14:50 ` [ruby-dev:48078] [ruby-trunk - Bug #9592] [Closed] " nagachika00
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: nobu @ 2014-03-11 23:46 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Nobuyoshi Nakada.


security fixではないですが、明らかなregressionなので1.9.3にも必要かもしれません。

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-45732

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 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 で修正したのでバックポートをお願いします。



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48078] [ruby-trunk - Bug #9592] [Closed] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2014-03-11 23:46 ` [ruby-dev:48034] " nobu
@ 2014-03-30 14:50 ` nagachika00
  2014-03-30 14:53 ` [ruby-dev:48079] [ruby-trunk - Bug #9592] " nagachika00
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: nagachika00 @ 2014-03-30 14:50 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Tomoyuki Chikanaga.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset ruby-200:r45472.

----------
merge revision(s) r45271: [Backport #9592] [Backport #9670]

	* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
	  error reasons with old OpenSSL, and insert a colon iff formatted
	  message is not empty.

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46001

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48079] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2014-03-30 14:50 ` [ruby-dev:48078] [ruby-trunk - Bug #9592] [Closed] " nagachika00
@ 2014-03-30 14:53 ` nagachika00
  2014-03-31  6:38 ` [ruby-dev:48082] " usa
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: nagachika00 @ 2014-03-30 14:53 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: REQUIRED, 2.0.0: DONE, 2.1: REQUIRED

r45271 was backported to ruby_2_0_0 at r45472.

コミット連動で閉じてしまいましたが、trunk では修正済みなので Closed にした上で Backport 欄を使うということでそのままにしておきます。

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46003

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48082] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2014-03-30 14:53 ` [ruby-dev:48079] [ruby-trunk - Bug #9592] " nagachika00
@ 2014-03-31  6:38 ` usa
  2014-03-31  6:39 ` [ruby-dev:48083] " usa
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: usa @ 2014-03-31  6:38 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Usaku NAKAMURA.

Related to Backport #9672: backport r45271 added

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46013

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r45270
* Backport: 1.9.3: REQUIRED, 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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48083] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2014-03-31  6:38 ` [ruby-dev:48082] " usa
@ 2014-03-31  6:39 ` usa
  2014-04-28 19:53 ` [ruby-dev:48135] " junkmail
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: usa @ 2014-03-31  6:39 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Usaku NAKAMURA.

Backport changed from 1.9.3: REQUIRED, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED

backported into ruby_1_9_3 at r45485.  (see #9672)

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46015

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

```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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48135] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (6 preceding siblings ...)
  2014-03-31  6:39 ` [ruby-dev:48083] " usa
@ 2014-04-28 19:53 ` junkmail
  2014-04-29  2:25 ` [ruby-dev:48136] " nobu
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: junkmail @ 2014-04-28 19:53 UTC (permalink / raw
  To: ruby-dev

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) [x86_64-linux] 
```


----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46354

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

```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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48136] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (7 preceding siblings ...)
  2014-04-28 19:53 ` [ruby-dev:48135] " junkmail
@ 2014-04-29  2:25 ` nobu
  2014-04-29 21:26 ` [ruby-dev:48137] " nathan
  2014-05-01 15:24 ` [ruby-dev:48162] " nagachika00
  10 siblings, 0 replies; 11+ messages in thread
From: nobu @ 2014-04-29  2:25 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Nobuyoshi Nakada.


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

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


----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46359

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

```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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48137] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (8 preceding siblings ...)
  2014-04-29  2:25 ` [ruby-dev:48136] " nobu
@ 2014-04-29 21:26 ` nathan
  2014-05-01 15:24 ` [ruby-dev:48162] " nagachika00
  10 siblings, 0 replies; 11+ messages in thread
From: nathan @ 2014-04-29 21:26 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Nathan Youngman.


Nobuyoshi Nakada 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
https://bugs.ruby-lang.org/issues/9592#change-46373

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

```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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ruby-dev:48162] [ruby-trunk - Bug #9592] Fix segfault with old OpenSSL
       [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
                   ` (9 preceding siblings ...)
  2014-04-29 21:26 ` [ruby-dev:48137] " nathan
@ 2014-05-01 15:24 ` nagachika00
  10 siblings, 0 replies; 11+ messages in thread
From: nagachika00 @ 2014-05-01 15:24 UTC (permalink / raw
  To: ruby-dev

Issue #9592 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: DONE

r45271 was backported into ruby_2_1 branch at r45778.

----------------------------------------
Bug #9592: Fix segfault with old OpenSSL
https://bugs.ruby-lang.org/issues/9592#change-46429

* 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: DONE
----------------------------------------
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 で修正したのでバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-05-01 15:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-9592.20140305031348@ruby-lang.org>
2014-03-05  3:13 ` [ruby-dev:48018] [ruby-trunk - Bug #9592] [Open] Fix segfault with old OpenSSL nobu
2014-03-05  3:14 ` [ruby-dev:48019] [ruby-trunk - Bug #9592] " nobu
2014-03-11 23:46 ` [ruby-dev:48034] " nobu
2014-03-30 14:50 ` [ruby-dev:48078] [ruby-trunk - Bug #9592] [Closed] " nagachika00
2014-03-30 14:53 ` [ruby-dev:48079] [ruby-trunk - Bug #9592] " nagachika00
2014-03-31  6:38 ` [ruby-dev:48082] " usa
2014-03-31  6:39 ` [ruby-dev:48083] " usa
2014-04-28 19:53 ` [ruby-dev:48135] " junkmail
2014-04-29  2:25 ` [ruby-dev:48136] " nobu
2014-04-29 21:26 ` [ruby-dev:48137] " nathan
2014-05-01 15:24 ` [ruby-dev:48162] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).