Skip to content

"aggressive" YAML anchors causing parser to hang #998

@frantuma

Description

@frantuma

when passing a "YAML Bomb"-like content to SwaggerParser, the call hangs with high CPU usage.

e.g.

Swagger result = new SwaggerParser().read("test.yaml");

an example is provided here

related to this snakeyaml issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions