Skip to content

wasm_runtime_start_debug_instance can break the module #4195

@yamt

Description

@yamt

wasm_runtime_start_debug_instance uses wasm_runtime_module_malloc to reserve memory for _M.
it isn't safe because the in-module heap might have not been initialized properly yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions