Number: 11
Title: dotty fails on labels longer than 1018 chars
Submitter: Marko Mäkelä
Date: Sat Apr 21 10:00:11 2001
Subsys: Dotty/Lneato/Lefty
Version: 1.7.5
System: x86-Linux-2.4.3
Severity: major
Problem:
I've built a GUI for my application using dotty. Nodes are of record shape, and node labels can be long. It seems that lefty uses a fixed buffer for parsing graphs.

A label longer than 1018 characters causes a segmentation fault on my system. Quotes don't seem to count, but escape sequences such as n are counted as two characters, not one.
Input:

graph g{
aaaa
//make the previous line e.g. 1024 x 'a'
}
Comments:
The "dot" command properly displayed a node having shape=record and a label 3842 characters long.
Owner: ek
Status: Fixed