Skip to content

Fixed out-of-bounds NSArray access by checking index first

Sean McBride requested to merge seanm/vtk:cocoa-exception into master

Bug introduced in 080ba5d7. Unlike other languages, in Obj-C it’s invalid to access past the end of an array. Similarly, exception handling isn’t mean for normal control flow.

Merge request reports