#519: Pointer#[] and #[]= should not allow out of bounds access
-----------------------------------+----------------------------------------
Reporter: lsansone...@… | Owner: lsansone...@…
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel