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

Add regex syntax target #112

Merged
merged 1 commit into from
Apr 27, 2018
Merged

Conversation

killercup
Copy link
Member

@killercup killercup commented Apr 27, 2018

Add regex syntax target

Run it with cargo run target regex_syntax

Finds the following inputs that yield panics, some of which are also
mentioned in 1:

  • b"(?m)?"
  • b"(?i)?i\x0e"
  • b"CBh~62\x17Y((?i))??i\x0e"
  • b"(?m)?90"
  • b"(?i)?"

Run it with `cargo run target regex_syntax`

Finds the following inputs that yield panics, some of which are also
mentioned in [1]:

- `b"(?m)?"`
- `b"(?i)?i\x0e"`
- `b"CBh~62\x17Y((?i))??i\x0e"`
- `b"(?m)?90"`
- `b"(?i)?"`

[1]: rust-lang/regex#465
@killercup
Copy link
Member Author

r? @PaulGrandperrin

@PaulGrandperrin
Copy link
Member

Nice, I forgot to commit the one I used to find those bugs.
But I think your version is even better!

bors r+

bors bot added a commit that referenced this pull request Apr 27, 2018
112: Add regex syntax target r=PaulGrandperrin a=killercup

Add regex syntax target

Run it with `cargo run target regex_syntax`

Finds the following inputs that yield panics, some of which are also
mentioned in [1]:

- `b"(?m)?"`
- `b"(?i)?i\x0e"`
- `b"CBh~62\x17Y((?i))??i\x0e"`
- `b"(?m)?90"`
- `b"(?i)?"`

[1]: rust-lang/regex#465

Co-authored-by: Pascal Hertleif <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 27, 2018

Build succeeded

@bors bors bot merged commit 7dc359b into rust-fuzz:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants