Skip to content

Negative array indices are permitted, sometimes produce segmentation fault #100

Open
@markfirmware

Description

@markfirmware
MODULE Fault;
  VAR i: INTEGER; a: ARRAY 1 OF INTEGER;
BEGIN
  i := -32768;
  a[i] := 0
END Fault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions