Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Meaning of out-of-range zero-length 'memory.fill' / 'memory.copy' #11

@julian-seward1

Description

@julian-seward1

What should happen when memory.fill/.copy are requested to process zero bytes, but the destination and/or source offsets are out of range? Should there be an out-of-range exception? Or should the operations be no-ops?

I'd vote for throwing an exception, on safety/correctness grounds.

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