Skip to content

Endless loop in Regex::captures_iter() #255

@lukaslueg

Description

@lukaslueg

AFL found this simple regex that causes Regex::captures_iter() in regex-0.1.71 to enter into an endless loop.

regex::Regex::new("a$").unwrap().captures_iter("a").last()

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