Skip to content

Fuzzer finds crash in parse fuzz_target #1034

Open
@dare-to-recurse

Description

@dare-to-recurse
  • Note that this crate implements the URL Standard not RFC 1738 or RFC 3986

Describe the bug
Fuzzing quickly found a fail in the parse fuzz target.
Verified on both v2.5.4 and on latest commit in main branch (adb8660)

Error:

thread '<unnamed>' panicked at fuzz_targets/parse.rs:10:13:

assertion `left == right` failed
  left: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("f")), port: None, path: "/z:/", query: None, fragment: None }
 right: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/z:/", query: None, fragment: None }

minimized-artifact.txt

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