Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002248graphvizDotpublic2013-02-01 23:482013-09-12 21:38
Reporterfuckregistration 
Assigned Toerg 
PrioritylowSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0002248: splines=ortho crash in utils.c -> addLabelBB(): null ptr deref when lp is null
DescriptionThe assumption that 'lp is always populated' is wrong in this case.

lp->pos causes a crash when lp is null
Steps To Reproducedigraph a{
 splines=ortho;
 b -> c
 d -> e [label="e"]
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSIONdot - grapviz version 2.28.0 (20120228.1928)
Attached Files

- Relationships
related to 0002152resolvederg DOT crashes if splines=ortho 

-  Notes
User avatar (0000277)
fuckregistration (reporter)
2013-02-01 23:49

might be related to issue 0002152:
http://www.graphviz.org/mantisbt/view.php?id=2152 [^]
User avatar (0000310)
erg (administrator)
2013-03-08 15:43

As noted in the documentation, splines=ortho does not handle edge labels in dot.
Use an xlabel attribute instead.

That said, the code should not crash, but give a warning message.
User avatar (0000519)
erg (administrator)
2013-09-12 21:38

Give warning and revert to ordinary routing. We still need to support splines=ortho with edge labels in dot.

- Issue History
Date Modified Username Field Change
2013-02-01 23:48 fuckregistration New Issue
2013-02-01 23:49 fuckregistration Note Added: 0000277
2013-03-08 15:43 erg Note Added: 0000310
2013-03-08 15:47 erg Relationship added related to 0002152
2013-09-12 21:38 erg Note Added: 0000519
2013-09-12 21:38 erg Assigned To => erg
2013-09-12 21:38 erg Status new => resolved
2013-09-12 21:38 erg Resolution open => fixed


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker