Skip to content

Very long strings cause stack overflow #17

@PlanetEarthSoftware

Description

@PlanetEarthSoftware

When processing strings DotParser recurses for every character in the lexer. This causes the stack to overflow on very long, (about 16k) strings. Dot itself only handles string up to about 16k in length. Attached is a .dot file that is processed by dot ok but causes a stack overflow when processed by DotParser. It would be ideal if DotParser could handle strings of any length as .dot files can be used to interchange data between non GraphVis applications that use long strings.
long-label-16k.dot.zip

long-label-16k dot
long-label-16k.dot.svg.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions