With this path 23Nightingale.dwg won't crash testSVG.

--- a\testSVG.c Tue Feb 23 21:54:58 2010
+++ b\testSVG.c Thu Mar  4 01:17:39 2010
@@ -207,6 +207,12 @@
      return;
    }

+  if (!ref->absolute_ref)
+    {
+ fprintf(stderr, "Found null ref->absolute_ref type %lu\n", ref->obj->type);
+      return;
+    }
+
  hdr = ref->obj->tio.object->tio.BLOCK_HEADER;
  printf(
"\t<g id=\"symbol-%lu\" >\n\t\t<!-- %s -->\n", ref->absolute_ref, hdr->entry_name);

--Timppa


Reply via email to