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

Fix parsing out-of-bounds nan constants #1111

Merged
merged 2 commits into from Jul 12, 2023

Commits on Jul 8, 2023

  1. Fix parsing out-of-bounds nan constants

    Previously a float token in a wasm text file could trigger a panic if it
    was out of bounds, for example `nan:0xffffffffffffffff0` (16 `f` plus
    one `0`). This `.unwrap()` on a parse has been replaced with a fallible
    one to propagate the error handling.
    alexcrichton committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    022a0fc View commit details
    Browse the repository at this point in the history
  2. Fix tests

    alexcrichton committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    31a83c6 View commit details
    Browse the repository at this point in the history