Projects

Ticket #519 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r3170.

Note: See TracTickets for help on using tickets.