Skip to content

Could this lib provide options to set limitation to avoid unbound backtracing? #39

Description

@spacewander

Since it uses PCRE-JIT, bad regex from tokenizer.json can trigger an unbound backtracing with certain input. It would be safer to provide options to set limitation of the resource usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions