[MacRuby-devel] [MacRuby] #519: Pointer#[] and #[]= should not allow out of bounds access

MacRuby ruby-noreply at macosforge.org
Wed Dec 23 13:52:07 PST 2009


#519: Pointer#[] and #[]= should not allow out of bounds access
-----------------------------------+----------------------------------------
 Reporter:  lsansonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  blocker                |   Milestone:  MacRuby 0.5          
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------
 {{{
 ptr = Pointer.new('i')
 ptr[0] = 42 # ok
 ptr[100] = 42 # should raise an exception
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/519>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list