Opened 13 months ago

Last modified 13 months ago

#5688 assigned defect

The binding expression splitting doesn't check bounds

Reported by: mjohnsson Owned by: mjohnsson
Priority: minor Milestone:
Component: Modelica/MiddleEnd Version: trunk
Keywords: Cc:


If an array have a only 2 binding expressions for a larger set of components and you ask for the binding expressions of a component 5 you get an exception (ArrayOutOfBounds) rather than null as intended. The is a missing check to prevent the compiler from reading past the end of the child vectors.

Change History (1)

comment:1 Changed 13 months ago by mjohnsson

Fixed that binding expression splitting doesn't check bounds.

Note: See TracTickets for help on using tickets.