Skip to content

Incorrect byte of section id in test suite binary.wast #1365

Closed

Description

@LuisHsu

In spec/test/core/binary.wast:1409, the content is:

;; Malformed table limits flag
(assert_malformed
  (module binary
      "\00asm" "\01\00\00\00"
      "\05\03\01"                           ;; table section with one entry
      "\70"                                 ;; anyfunc
      "\02"                                 ;; malformed table limits flag
  )
  "integer too large"
)

However, the ID of table section is 4, so "\05\03\01" should be "\04\03\01".

Similar bugs are existing until line 1487.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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