fix(url): fix panic when questionmark is in fragment by sinkuu · Pull Request #1076 · hyperium/hyper

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@sinkuu

Copy link

Contributor

@sinkuu sinkuu commented

Feb 25, 2017

edited

Loading

Url::parse panicked if a questionmark is in the fragment part:

panicked at 'attempt to subtract with overflow', src/uri.rs:207

This was found by cargo-fuzz

@seanmonstar

Copy link

Member

Excellent, thank you!

@seanmonstar seanmonstar merged commit 359f5ff into hyperium:master

Feb 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sinkuu @seanmonstar