Ticket #519 (closed defect: fixed)
Pointer#[] and #[]= should not allow out of bounds access
| Reported by: | lsansonetti@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.5 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
ptr = Pointer.new('i')
ptr[0] = 42 # ok
ptr[100] = 42 # should raise an exception
Change History
Note: See
TracTickets for help on using
tickets.

