libredwg
[Top][All Lists]
Advanced

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

[libredwg] [bug #31867] opening a file with an unsupported dwg revision


From: Otso Helenius
Subject: [libredwg] [bug #31867] opening a file with an unsupported dwg revision could cause a segfault
Date: Thu, 27 Jan 2011 16:32:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Fedora/3.6.13-1.fc14 Firefox/3.6.13

Follow-up Comment #1, bug #31867 (project libredwg):

I can verify this bug.

My test file (at
https://pi-xi.net/share/libredwg/AutoCAD_Architecture_2011_Student_Version_R2010_Test_1.dwg)
contains one polyline and two annotative dimensions (seen here:
https://pi-xi.net/share/libredwg/AutoCAD_Architecture_2011_Student_Version_R2010_Test_1.png)

Running

./testSVG AutoCAD_Architecture_2011_Student_Version_R2010_Test_1.dwg >
test1.svg

causes a segfault. There is no stderr output whatsoever (exported
LIBREDWG_TRACE=3). Trying it on the example.dwg works fine

I also noticed that just running ./testSVG foobar (when foobar is a
nonexisting or existing file) causes a segfault except when using with the
libredwg example DWGs.

I tried out an empty R2007 file (at
https://pi-xi.net/share/libredwg/AutoCAD_Architecture_2011_Student_Version_R2007-LT2007.dwg),
it produced also a segfault but also stderr output which I have attached here
(R2007.out). I did the same with R2004 and R14 exported DWG files (empty as
well). R2004 produced a segfault as well but no stderr output, R14 exported
correctly.

I am running it on Fedora 14 x86_64 compiled from a snapshot (27.01.2011). I
have created all the DWGs with Autodesk AutoCAD Architecture 2011 Student
version available from http://students.autodesk.com/. It is an exact replica
of the full retail version except for the licensing which has to be renewed
every year.

(file #22534, file #22535)
    _______________________________________________________

Additional Item Attachment:

File name: R14-LT98-LT97.out              Size:2 KB
File name: R2007.out                      Size:9 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31867>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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