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 panic with invalid unicode query #645

Merged
merged 1 commit into from
May 1, 2020
Merged

Commits on May 1, 2020

  1. Fix panic with invalid unicode query

    Without this fix the panic looks like the following:
    
    ```rust
    ---- parser::tests::lexer::string_errors stdout ----
    thread 'parser::tests::lexer::string_errors' panicked at 'byte index 4 is not a char boundary; it is inside 'ɠ' (bytes 3..5) of `"\uɠ^A`', src/libcore/str/mod.rs:2219:5
    ```
    
    This was found via fuzzing with `cargo-fuzz`.
    LegNeato committed May 1, 2020
    Configuration menu
    Copy the full SHA
    b5e4012 View commit details
    Browse the repository at this point in the history