Bug #576: Segfault if Class.new is aliased
http://redmine.ruby-lang.org/issues/show/576

Author: Jim Deville
Status: Open, Priority: High

By aliasing Class.new, one can get around the lack of MatchData.new (and presumably other hidden new methods). If one uses this to try and create a new MatchData, and then calls an instance method of the new MatchData object, Ruby segfaults. This has been tested and reproduced on Ruby 1.8.6p111 and Ruby 1.8.6 HEAD.


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