Project

General

Profile

Actions

Bug #199

closed

Possible patches for critical segfaults and vulnerabilities available for review in ruby-talk

Added by Anonymous over 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
[ruby-dev:35222]

Description

=begin
All currently available official versions of MRI Ruby are either vulnerable, failing with segmentation faults, or change the API in ways that make it impossible to run critical Ruby libraries such as Rails 2.0 and RSpec.

There are currently two unofficial patches submitted by ruby-talk members that seem to fix these problems:

One is a backport of fixes to 1.8.6p111 by Stanislav Sedov and Hongli Lai. The other is a fix to 1.8.6p230 by Smartleaf which reverts a recent patch that's causing segmentation faults. I've attached these files to this ticket.

I've personally confirmed that both of these work as well as the stock 1.8.6p111 in running the Rails 2.0, RSpec 1.1.4, and RubySpec test suites. However, I do not understand the C patches well enough to be able to help with them myself.

Can one of the Ruby maintainers please review these patches and join in the discussion at ruby-talk or the online thread at http://www.ruby-forum.com/topic/157034 ?

Thank you!

-igal
=end


Files

1.8.6p230_smartleaf_fix.patch (2.9 KB) 1.8.6p230_smartleaf_fix.patch Anonymous, 06/25/2008 10:04 AM
1.8.6p111_sedov_and_lai_backport.patch (11.7 KB) 1.8.6p111_sedov_and_lai_backport.patch Anonymous, 06/25/2008 10:04 AM
wrapper.sh (1.63 KB) wrapper.sh Sample commands to run to build Ruby and run it against third-party tests igal (Igal Koshevoy), 06/28/2008 09:27 PM
logs.tar.gz (19 KB) logs.tar.gz Test results for p111 vs r17630 igal (Igal Koshevoy), 06/28/2008 09:27 PM
logs2.tar.gz (39.1 KB) logs2.tar.gz igal (Igal Koshevoy), 07/03/2008 03:31 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0