[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libredwg] [bug #28858] Segfaults on DWG file
From: |
Timo Lähde |
Subject: |
Re: [libredwg] [bug #28858] Segfaults on DWG file |
Date: |
Thu, 4 Mar 2010 03:28:51 +0200 |
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
- Re: [libredwg] [bug #28858] Segfaults on DWG file,
Timo Lähde <=