Skip to content

Panic in FluentResource::try_new #389

Description

@timtom-rs

While fuzzing my own application, I found that the following line will panic:

let _ = FluentResource::try_new(r#"a={"\ǔ"#.to_string());

with the message:

byte index 7 is not a char boundary; it is inside '\u{30c}' (bytes 6..8) of `a={"\ǔ `

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