8000 [yaml] Inline::parseQuotedScalar() causes stack overflow in Windows is field contains a lot of double quotes · Issue #14722 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[yaml] Inline::parseQuotedScalar() causes stack overflow in Windows is field contains a lot of double quotes #14722
Closed
@mahagr

Description

@mahagr

The following regexp uses a lot of recursion every time the content has a lot of double quotes:

(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"

Basically it is causing a crash in windows due to stack overflow on large inputs (~20k of escaped html in the field).

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

      0