[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] [bug #28503] Another test

From: Reini Urban
Subject: [libredwg] [bug #28503] Another test
Date: Sun, 10 Jun 2018 07:16:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36

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:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]