Skip to content

[fuzz testcase] "data.drop segment index out of bounds" #2227

@kripken

Description

@kripken

Testcase:

(module
 (memory $0 1 1)
 (data (i32.const 0) "")
 (func $func
  (data.drop 0)
 )
)

Command:

$ bin/wasm-opt w.wast --memory-packing -all

cc @tlively I guess it's not valid to remove a segment that is referred to from a bulk memory operation?

Metadata

Metadata

Assignees

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