Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very long strings cause stack overflow #17

Open
PlanetEarthSoftware opened this issue Dec 5, 2024 · 0 comments
Open

Very long strings cause stack overflow #17

PlanetEarthSoftware opened this issue Dec 5, 2024 · 0 comments

Comments

@PlanetEarthSoftware
Copy link

PlanetEarthSoftware commented Dec 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant