Allow import of ZigZagLine with missing orthpoints?
Submitted by chu..@..ve.com
Link to original bug (#691034)
Description
Created attachment 232568 Dia crashes when trying to load this file.
I am trying to create a script that produces Dia XML. I was hoping that I could just specify the connection points, and then clean up the routing by hand. Unfortunately, if the ZigZagLine <dia:object type="Standard - ZigZagLine" version="1" id="O2"> is missing orth_points <dia:attribute name="orth_points">...</dia:attribute> Dia crashes when trying to open the file (see attached):
GLib-ERROR **: gmem.c:202 failed to allocate 4294967292
Short of the ideal, not crashing on bad input would be better. Perhaps this should be considered a duplicate of bug 302781 ("Dia should not crash on highly broken files").
Attachment 232568, "Dia crashes when trying to load this file.":
demo-broken.dia
Version: 0.97.x