[MacRuby] #1025: Sandbox#apply! causes segfault when no argument is passed to constructor.

MacRuby ruby-noreply at macosforge.org
Wed Jan 5 14:47:26 PST 2011


#1025: Sandbox#apply! causes segfault when no argument is passed to constructor.
-----------------------------+----------------------------------------------
 Reporter:  rob@…            |        Owner:  lsansonetti@…        
     Type:  defect           |       Status:  reopened             
 Priority:  blocker          |    Milestone:  MacRuby 1.0          
Component:  MacRuby          |   Resolution:                       
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by lsansonetti@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I reverted your commit, as it's not the right way to fix this bug (as
 #initialize is defined with an arity of 1, an exception should be raised
 instead).

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1025#comment:4>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list