Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reject invalid section IDs #6675

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Reject invalid section IDs #6675

merged 2 commits into from
Jun 18, 2024

Commits on Jun 18, 2024

  1. Reject invalid section IDs

    Rather than treating them as custom sections. Also fix UB where invalid
    `Section` enum values could be used as keys in a map. Use the raw `uint8_t`
    section IDs as keys instead. Re-enable a disabled spec test that was failing
    because of this bug and UB.
    tlively committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    931b2c7 View commit details
    Browse the repository at this point in the history
  2. combine ifs

    tlively committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    881a6a5 View commit details
    Browse the repository at this point in the history