Skip to content

[Segmentation fault] slot index overflow because of slot missing in some bytecode #337

Closed
@ha1vk

Description

image

POC is as poc.wasm and the source is here ,use `./wat2wasm --enable-all --no-check poc.wat` to get poc.wasm
(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    f32.const 1.1
    f32.ceil

    i32.const 0x13
    i32.const 0x2
    memory.fill
  )
  (memory (;0;) 1)
  (export "_start" (func 0))
  (start 0))

image

poc.wasm.zip

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