Follow-up Comment #6, bug #28503 (project libredwg):
Found and fixed the errors with such really big (>40MB) DWG files.
I added arbitrary hard-coded size limits for sizes and counts of elements, and
these broke reading such realistic large files.
I fixed now the limits to dynamic numbers based on the actual filesize.
HARTA_E_PRISHTINES.dwg (r2007 and r2004) can now be read.
#define DBG_MAX_COUNT 0x100000
#define DBG_MAX_SIZE 0xff0000 /* should be dat->size * compression factor */
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28503>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/