Skip to content

invoke doesn't check that the right number of arguments are passed #52

@sfackler

Description

@sfackler

The function checks that all provided arguments have the correct type, but not that the right number were provided. In particular, you can pass 0 arguments to any function and the call will succeed with all parameters set to 0.

https://github.com/CraneStation/wasmtime/blob/602e81a895b251d49c60f0c6ffed9cb71d0509c5/lib/jit/src/action.rs#L155-L158

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