[Dot] Crash with certain colors
Ported Issue from Mantis Original ID: 2370 Reported By: mathstuf
SEVERITY: CRASH Submitted: 2013-09-16 17:19:45
OS: FEDORA
OS BUILD: 18
PLATFORM: LINUX
DESCRIPTION
It looks like there is uninitialized memory floating around with a color for an edge like "red;1:black".
STEPS TO REPRODUCE
% cat test.dot
strict digraph "" {
"a" -> "b" [color="red;1:black"];
}
% dot -Tpng test.dot > /dev/null
Warning: 5O9s not a known color. % dot -Tpng test.dot > /dev/null Warning:
is not a known color.
% dot -Txlib test.dot
Warning: `v6 is not a known color.
zsh: segmentation fault dot -Txlib test.dot
% dot -V
dot - graphviz version 2.30.1 (20130712.1527)