Skip to content

jerryscript-ext/arg.impl.h@106 has an out-of-bounds read #2713

Closed
@mlite

Description

@mlite

The same reproducing steps like the previous issues with Stensal SDK (https://stensal.com)
Feel free to reach out to me if you need help to interprete the error message.

DTS_MSG: Stensal DTS detected a fatal program error!
DTS_MSG: Continuing the execution will cause unexpected behaviors, abort!
DTS_MSG: OOB Read:reading 4 bytes at 0xfffe15ac will read undefined values.
DTS_MSG: Diagnostic information:

  • The object to-be-read (start:0xfffe15ac, size:2 bytes) is allocated at
  • file:/home/sbuilder/workspace/jerryscript/jerry-ext/include/jerryscript-ext/arg.impl.h::106, 1
    
  • 0xfffe15ac 0xfffe15ad
  • +------------------------+
  • | the object to-be-read |......
  • +------------------------+
  • ^~~~~~~~~~
  • the read starts at the object begin.
  • Stack trace (most recent call first):
    -[1] file:/home/sbuilder/workspace/jerryscript/jerry-ext/include/jerryscript-ext/arg.impl.h::106, 1
    -[2] file:/home/sbuilder/workspace/jerryscript/tests/unit-ext/test-ext-arg.c::384, 5
    -[3] file:/home/sbuilder/workspace/jerryscript/jerry-core/ecma/operations/ecma-function-object.c::744, 32
    -[4] file:/home/sbuilder/workspace/jerryscript/jerry-core/vm/vm.c::534, 24
    -[5] file:/home/sbuilder/workspace/jerryscript/jerry-core/vm/vm.c::3467, 9
    -[6] file:/home/sbuilder/workspace/jerryscript/jerry-core/vm/vm.c::3564, 10
    -[7] file:/home/sbuilder/workspace/jerryscript/jerry-core/vm/vm.c::235, 10
    -[8] file:/home/sbuilder/workspace/jerryscript/jerry-core/api/jerry.c::544, 24
    -[9] file:/home/sbuilder/workspace/jerryscript/tests/unit-ext/test-ext-arg.c::830, 23
    -[10] file:/home/nwang/acore/musl/src/env/__libc_start_main.c::180, 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourjerry-extRelated to the jerry-ext library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions