Validation for slot missing in CodeBuilder local variable instructions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 25
    • Affects Version/s: 24, 25
    • Component/s: core-libs
    • None

      A method like CodeBuilder::loadLocal(TypeKind tk, int slot) does not verify if the slot is within a valid range. Consequently, it allows an invalid slot (such as -1) to pass through without rejection, resulting in the successful creation of the code model despite the error.

            Assignee:
            Chen Liang
            Reporter:
            Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: