Edge ports can cause dot to crash
Created by: thomasdullien
Hey there,
(Source line numbers refer to GV 2.36.0)
The attached example .dot file crashes dot in dotsplines.c, line 1301 - ED_label(auxe) ends up being 0, and ED_label(auxe)->pos predictably segfaults.
According to valgrind, an invalid write8 happens previously, in line 1231. I am unfortunately too unfamiliar with all the macros in the codebase to judge exactly what is going on, but it appears that cloneEdge does not work as expected. There are a few lines of code commented out w/o further details - perhaps they are the culprit?
Cheers, Thomas corrupt_tree_part.dot.txt