Skip to content

Regex::split() crashes #251

@lukaslueg

Description

@lukaslueg

AFL found the following crash in regex-0.1.71 using rustc-1.11.0-dev 2016-06-13

regex::Regex::new("a$").unwrap().split("a").last();
...panicked at 'begin <= end (1 <= 0) when slicing `a`...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions