issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"LibreDWG",
"libredwg"
] | Still XRECORD failures after indxf, due to wrong xdata_size and subsequent obj->size calculation on encode.
example_2000: 2B6
```
Next object: 189 Handleoff: 3 [UMC] Offset: -75 [MC]
+Next object: 159 Handleoff: 4 [UMC] Offset: 36 [MC]
==========================================
-Object number: 189/BD, Size: 50... | encode: fix xdata_size | https://api.github.com/repos/LibreDWG/libredwg/issues/224/comments | 1 | 2020-04-10T06:19:57Z | 2020-04-10T16:14:25Z | https://github.com/LibreDWG/libredwg/issues/224 | 597,719,185 | 224 |
[
"LibreDWG",
"libredwg"
] | See e.g. http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-6A4C31C0-4988-499C-B5A4-15582E433B0F
Dimension, leader, and tolerance entities may need to store overrides in xdata. Check if we need to create this xdata from/to dxf by ourself. | Add support for DIMENSION STYLE Overrides | https://api.github.com/repos/LibreDWG/libredwg/issues/223/comments | 0 | 2020-04-07T18:44:48Z | 2020-04-07T18:45:00Z | https://github.com/LibreDWG/libredwg/issues/223 | 596,075,784 | 223 |
[
"LibreDWG",
"libredwg"
] | needed for GH #221 | indxf: support BLOCK_HEADER.entities | https://api.github.com/repos/LibreDWG/libredwg/issues/222/comments | 1 | 2020-04-03T21:10:39Z | 2020-04-06T09:17:02Z | https://github.com/LibreDWG/libredwg/issues/222 | 593,642,936 | 222 |
[
"LibreDWG",
"libredwg"
] | see GH #219
with r2000, our only write format we need to convert all entity arrays (like BLOCK_HEADER) to a linked list of entities, via prev and next_entity. | convert entity arrays to linked lists | https://api.github.com/repos/LibreDWG/libredwg/issues/221/comments | 1 | 2020-04-03T12:16:06Z | 2020-04-06T09:17:30Z | https://github.com/LibreDWG/libredwg/issues/221 | 593,340,800 | 221 |
[
"LibreDWG",
"libredwg"
] | My system is Win8.1 X64,when I run dwg2dxf.exe in libredwg-0.10.1.3157-win64,the system remind me "lose libssp-0.lib" can't start it.Do I only need a libssp-0.dll and put it in system to fix it? | lose libssp-0.lib | https://api.github.com/repos/LibreDWG/libredwg/issues/220/comments | 2 | 2020-04-03T01:35:51Z | 2020-04-06T09:17:29Z | https://github.com/LibreDWG/libredwg/issues/220 | 593,017,661 | 220 |
[
"LibreDWG",
"libredwg"
] | at least with r2000 `BLOCK_HEADER.first_` and `last_entity` is totally unreliable, at least for the very last block. So iterate over all ownerhandles and check them instead.
Also `get_next_owned_block()` is wrong for dxf BLOCKS, use a new `get_next_owned_block_entity` instead. We need all block entities, not just its ... | dxf: missing BLOCK entities | https://api.github.com/repos/LibreDWG/libredwg/issues/219/comments | 1 | 2020-03-30T15:48:45Z | 2020-04-02T16:24:23Z | https://github.com/LibreDWG/libredwg/issues/219 | 590,397,125 | 219 |
[
"LibreDWG",
"libredwg"
] | Hello @rurban,
sorry for the simple question: i'm a complete newby. I downloaded the windows nightly at https://github.com/LibreDWG/libredwg/releases.
But I have no idea on where i should put the files to make them available in FreeCAD (EDIT and use the functions through its python console).
Any avice?
thx :)
ca... | [SOLVED] Installing libredwg on windows to use it within FreeCAD | https://api.github.com/repos/LibreDWG/libredwg/issues/218/comments | 4 | 2020-03-29T09:36:26Z | 2020-04-06T09:18:00Z | https://github.com/LibreDWG/libredwg/issues/218 | 589,754,317 | 218 |
[
"LibreDWG",
"libredwg"
] | And process common object handles before the object-specific handles. So far we do it only with r2007+ (and newer objects), but we do have the bitsize even with r13.
Fixes at least DICTIONARYWDFLT and DIMASSOC.
There's one exception: _CONTROL objects, which have num_entries BL mixed in before the ownerhandle.
Se... | init handles early for all versions | https://api.github.com/repos/LibreDWG/libredwg/issues/214/comments | 0 | 2020-03-24T10:13:32Z | 2020-03-25T18:34:56Z | https://github.com/LibreDWG/libredwg/issues/214 | 586,844,326 | 214 |
[
"LibreDWG",
"libredwg"
] | we already gathered known dxf/dwg value pairs of all unstable/debugging class for `examples/unknown`.
use these known dxf values, to check against decoded dwg's.
so far we only tested against max known values (overflows) or nan (decoding errors with doubles only), but we never caught simple mixed up fields, esp. wi... | add dxf unit tests, check against examples/alldxf_1.inc values | https://api.github.com/repos/LibreDWG/libredwg/issues/212/comments | 0 | 2020-03-16T09:20:42Z | 2020-03-20T12:43:10Z | https://github.com/LibreDWG/libredwg/issues/212 | 582,131,036 | 212 |
[
"LibreDWG",
"libredwg"
] | ```
MAKEINFO ../../../doc/LibreDWG.info
mkdir: cannot create directory ‘.am10094’: Permission denied
could not open ../../../doc/LibreDWG.texi: No such file or directory
/bin/bash: line 16: cd: ../../../doc: No such file or directory
Makefile:455: recipe for target '../../../doc/LibreDWG.info' failed
make[3]: *... | flapping make distcheck with makeinfo | https://api.github.com/repos/LibreDWG/libredwg/issues/211/comments | 0 | 2020-03-12T07:28:39Z | 2020-04-06T09:17:29Z | https://github.com/LibreDWG/libredwg/issues/211 | 579,745,100 | 211 |
[
"LibreDWG",
"libredwg"
] | For debugging it's needed to catch errors, but for releases be more permissive, and either skip BD, or replace by 0.0 on points | Skip nan in exports on IS_RELEASE | https://api.github.com/repos/LibreDWG/libredwg/issues/210/comments | 0 | 2020-03-10T19:07:03Z | 2020-03-14T14:33:47Z | https://github.com/LibreDWG/libredwg/issues/210 | 578,799,497 | 210 |
[
"LibreDWG",
"libredwg"
] | When using the dwgread command and export a dwg to json format, the json exported add an extra comma which is a non-valid json :
here is the command that i used :
dwgread test.dwg -O GeoJson test.json
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {
"SubClasse... | GeoJSON exporting : error in json format | https://api.github.com/repos/LibreDWG/libredwg/issues/209/comments | 4 | 2020-03-10T11:42:37Z | 2020-03-14T14:34:08Z | https://github.com/LibreDWG/libredwg/issues/209 | 578,520,270 | 209 |
[
"LibreDWG",
"libredwg"
] | On certain locales fprint %f/%g will use a comma, not a dot.
Check that and set the C locale then on all exporters. Not sure about sscanf (importers). | No commas in floats, use the C locale? | https://api.github.com/repos/LibreDWG/libredwg/issues/208/comments | 1 | 2020-03-04T07:12:55Z | 2020-03-14T14:34:23Z | https://github.com/LibreDWG/libredwg/issues/208 | 575,184,865 | 208 |
[
"LibreDWG",
"libredwg"
] | I feel this is mostly related to code quality:
https://github.com/LibreDWG/libredwg/blob/0a491e5fa0bb7bc7133e4c247fcc9e6a2c3b0166/programs/dwg2dxf.c#L245-L253
https://github.com/LibreDWG/libredwg/blob/0a491e5fa0bb7bc7133e4c247fcc9e6a2c3b0166/programs/dxf2dwg.c#L245-L252
| Missing memset and zero outing | https://api.github.com/repos/LibreDWG/libredwg/issues/207/comments | 1 | 2020-02-19T19:48:07Z | 2020-02-21T21:03:07Z | https://github.com/LibreDWG/libredwg/issues/207 | 567,804,360 | 207 |
[
"LibreDWG",
"libredwg"
] | There is an inconsistency here:
https://github.com/LibreDWG/libredwg/blob/0a491e5fa0bb7bc7133e4c247fcc9e6a2c3b0166/src/decode.c#L2806-L2808
https://github.com/LibreDWG/libredwg/blob/0a491e5fa0bb7bc7133e4c247fcc9e6a2c3b0166/src/decode_r2007.c#L1701-L1705
Looks like two checks are missing. But, on the other hand... | Missing NULL check before passing to free | https://api.github.com/repos/LibreDWG/libredwg/issues/206/comments | 1 | 2020-02-19T19:16:32Z | 2020-02-23T22:48:09Z | https://github.com/LibreDWG/libredwg/issues/206 | 567,785,274 | 206 |
[
"LibreDWG",
"libredwg"
] | needed for the many more objects we don't properly support yet, with HANDLE in loops (TABLE, TABLESTYLE, MLEADERSTYLE, ...)
call obj_handle_stream right at the beginning when we know the bitsize.
remove the duplicate REPEAT block sections after the HANDLE_STREAM, read right into it.
remove the related special-cases ... | earlier setup hdl_dat stream | https://api.github.com/repos/LibreDWG/libredwg/issues/205/comments | 0 | 2020-02-19T12:35:53Z | 2020-02-21T20:57:05Z | https://github.com/LibreDWG/libredwg/issues/205 | 567,539,960 | 205 |
[
"LibreDWG",
"libredwg"
] | 0.10.1 was fine.
All the invalid NULL handles are appearing again. | 0.11 in_dxf *_CONTROL.entites[] NULL hdl regression | https://api.github.com/repos/LibreDWG/libredwg/issues/204/comments | 0 | 2020-02-19T09:11:00Z | 2020-02-28T07:45:39Z | https://github.com/LibreDWG/libredwg/issues/204 | 567,420,763 | 204 |
[
"LibreDWG",
"libredwg"
] | This post is listed in the order of questions first followed by specs, problem descriptions, and information.
### Questions:
1. What perl module is needed to get past the make check error shown below?
(see the "04 output:" of the "Description of the problem:" section shown below.)
2. What does the error mess... | Make fails on Perl checks, which perl module is needed? | https://api.github.com/repos/LibreDWG/libredwg/issues/203/comments | 9 | 2020-02-17T00:28:51Z | 2020-03-07T14:44:56Z | https://github.com/LibreDWG/libredwg/issues/203 | 565,998,191 | 203 |
[
"LibreDWG",
"libredwg"
] | The availaible cross-compilers for small machines (arm-linux-gnueabihf, mips) can only do C89.
```
configure: WARNING: This compiler arm-linux-gnu-gcc has no c99 support
checking for stdlib.h... (cached) no
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) no
checking for G... | C89 support for arm/mips | https://api.github.com/repos/LibreDWG/libredwg/issues/202/comments | 1 | 2020-02-14T20:17:38Z | 2020-02-14T20:27:45Z | https://github.com/LibreDWG/libredwg/issues/202 | 565,536,448 | 202 |
[
"LibreDWG",
"libredwg"
] | I am getting this error while trying to convert dwg file to dxf format. Could you please check I have attached the dwg file below?
[JW.zip](https://github.com/LibreDWG/libredwg/files/4163532/JW.zip)
```
vimal-pillai@blackbird:~/Downloads/jw-cartoner-cover-1.snapshot.1$ dwg2dxf -v JW.dwg
Reading DWG file JW.dwg
... | Getting error while trying to convert from dwg to dxf file | https://api.github.com/repos/LibreDWG/libredwg/issues/201/comments | 5 | 2020-02-06T06:38:53Z | 2020-02-07T10:28:39Z | https://github.com/LibreDWG/libredwg/issues/201 | 560,810,789 | 201 |
[
"LibreDWG",
"libredwg"
] | I am getting the following error while converting to json. Could you please check the dwg file which I have attached below?
```
dwgread -O JSON -o jw.json JW.dwg
Warning: Unhandled Class object 501 MATERIAL (0x481) 14/0
Warning: Unhandled Class object 501 MATERIAL (0x481) 22/0
Warning: Unhandled Class object 5... | Getting error while trying to convert dwg to json | https://api.github.com/repos/LibreDWG/libredwg/issues/200/comments | 4 | 2020-02-06T06:13:16Z | 2020-02-11T08:31:01Z | https://github.com/LibreDWG/libredwg/issues/200 | 560,802,286 | 200 |
[
"LibreDWG",
"libredwg"
] | the output is >2x as long, and is garbled | json: FIELD_BINARY (e.g. preview) is broken | https://api.github.com/repos/LibreDWG/libredwg/issues/199/comments | 0 | 2020-02-05T14:58:02Z | 2020-02-06T10:37:57Z | https://github.com/LibreDWG/libredwg/issues/199 | 560,427,423 | 199 |
[
"LibreDWG",
"libredwg"
] | Add json EED and XRECORD.xdata support (write and read) | https://api.github.com/repos/LibreDWG/libredwg/issues/198/comments | 1 | 2020-02-03T08:19:28Z | 2020-02-03T22:28:29Z | https://github.com/LibreDWG/libredwg/issues/198 | 558,917,410 | 198 | |
[
"LibreDWG",
"libredwg"
] | Went from 422 fuzzing crashes down to 43 for now.
The biggest leaks are gone are also, but there are still a few. | remaining injson fuzzing crashes and leaks | https://api.github.com/repos/LibreDWG/libredwg/issues/197/comments | 3 | 2020-02-01T10:44:45Z | 2020-02-03T19:05:08Z | https://github.com/LibreDWG/libredwg/issues/197 | 558,522,135 | 197 |
[
"LibreDWG",
"libredwg"
] | dwgfilter/dwgwrite json may choose to add or delete array entries without adjusting the accompanying num_X field. We need to adjust it then, and don't leave NULL array entries instead.
Also warn then.
| in_json: adjust wrong num_X sizes, when differing | https://api.github.com/repos/LibreDWG/libredwg/issues/196/comments | 1 | 2020-01-29T12:23:43Z | 2020-01-31T16:37:21Z | https://github.com/LibreDWG/libredwg/issues/196 | 556,828,174 | 196 |
[
"LibreDWG",
"libredwg"
] | FreeCAD now allows to export dwg's with libredwg if libredwg is available. We cannot make libredwg a hard dependency because of license issues (lgpl2 vs gpl3) but using it as an optional dependency should not be a problem.
We use the dwg2dxf command for importing dwgs and dxf2dwg for the export. The import seems to ... | dwg export with freecad | https://api.github.com/repos/LibreDWG/libredwg/issues/195/comments | 8 | 2020-01-28T10:55:40Z | 2020-07-11T09:21:46Z | https://github.com/LibreDWG/libredwg/issues/195 | 556,130,566 | 195 |
[
"LibreDWG",
"libredwg"
] | we only handle structs, not unions. same offset, different name.
add as "lt'index" and "lt.ltype" keys to dynapi.
Needed for in_json. But note that with added unions, the fields_size calculation is wrong. Maybe we'd need a seperate struct_size then. The calculation also fails on cygwin32.
```
{
'type' => {... | add union support to dynapi: MLINESTYLE.line.lt.{index,ltype} | https://api.github.com/repos/LibreDWG/libredwg/issues/194/comments | 1 | 2020-01-26T08:55:37Z | 2020-01-27T15:01:38Z | https://github.com/LibreDWG/libredwg/issues/194 | 555,199,628 | 194 |
[
"LibreDWG",
"libredwg"
] | Same as with indxf.
No need for a free exception then, and needs much less memory. | Use a global static NULL_HANDLE | https://api.github.com/repos/LibreDWG/libredwg/issues/193/comments | 0 | 2020-01-18T17:58:04Z | 2020-01-18T17:58:28Z | https://github.com/LibreDWG/libredwg/issues/193 | 551,802,287 | 193 |
[
"LibreDWG",
"libredwg"
] | There should not be duplicate 0.X.X handles. On decode and encode. Skip this object then.
Maybe add this feature behind an extra `--audit` flag, because it could be expensive to add another owners hash_map, as duplicate of the HANDLES section map. Or being forced to do linear search there. | check duplicate owner handles | https://api.github.com/repos/LibreDWG/libredwg/issues/192/comments | 0 | 2020-01-17T12:01:32Z | 2020-07-11T09:22:15Z | https://github.com/LibreDWG/libredwg/issues/192 | 551,376,627 | 192 |
[
"LibreDWG",
"libredwg"
] | LibreDWG does not leak when decoding valid DWG's. But with certain illegal DWG's created by fuzzing we still leak some. Fix these. | decode fuzzing leaks | https://api.github.com/repos/LibreDWG/libredwg/issues/191/comments | 1 | 2020-01-17T09:48:40Z | 2020-01-27T16:41:09Z | https://github.com/LibreDWG/libredwg/issues/191 | 551,311,597 | 191 |
[
"LibreDWG",
"libredwg"
] | Hi, I got some bugs which you can reproduce `dxf2dwg $PoC -o /dev/null` .Thses bugs work on version `0.10.1.2685` and `earlier`. | Some heap_overflow bug | https://api.github.com/repos/LibreDWG/libredwg/issues/190/comments | 5 | 2020-01-16T11:51:56Z | 2020-07-20T02:16:17Z | https://github.com/LibreDWG/libredwg/issues/190 | 550,758,758 | 190 |
[
"LibreDWG",
"libredwg"
] | Hi, I got some bugs which you can reproduce `dxf2dwg $PoC -o /dev/null` .Thses bugs work on version `0.10.1.2685` and `earlier`. | Some NULL pointer bugs | https://api.github.com/repos/LibreDWG/libredwg/issues/189/comments | 58 | 2020-01-16T11:36:57Z | 2020-07-20T02:15:32Z | https://github.com/LibreDWG/libredwg/issues/189 | 550,751,408 | 189 |
[
"LibreDWG",
"libredwg"
] | Hi,
After fuzzing libredwg, I found the following bugs on the latest commit on master.
Command: ./dwgbmp $PoC
**1.NULL pointer dereference in read_2004_compressed_section ../../src/decode.c:2417**
POC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG_4c26d37/id:000012%2Csig:06%2Csrc:002489%2Cop:havoc... | Several bugs found by fuzzing | https://api.github.com/repos/LibreDWG/libredwg/issues/188/comments | 15 | 2020-01-15T04:37:59Z | 2020-01-16T23:22:04Z | https://github.com/LibreDWG/libredwg/issues/188 | 549,961,224 | 188 |
[
"LibreDWG",
"libredwg"
] | it is used as a library after all. and many asserts can be caused by wrong (fuzzed) user-data. | change most indxf asserts to errors | https://api.github.com/repos/LibreDWG/libredwg/issues/187/comments | 0 | 2020-01-14T12:48:46Z | 2020-07-11T09:19:53Z | https://github.com/LibreDWG/libredwg/issues/187 | 549,545,546 | 187 |
[
"LibreDWG",
"libredwg"
] | Hello, I got a NULL pointer deference bug in **0.10.1.2677 and even earlier** by run `dxf2dwg poc -o /dev/null`
```
==12391==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f9f9b4f3284 bp 0x7ffcfa3b08a0 sp 0x7ffcfa3b0860 T0)
==12391==The signal is caused by a READ memory access.
==12391==Hi... | NULL pointer deference | https://api.github.com/repos/LibreDWG/libredwg/issues/186/comments | 3 | 2020-01-14T12:30:37Z | 2020-07-20T02:14:44Z | https://github.com/LibreDWG/libredwg/issues/186 | 549,536,132 | 186 |
[
"LibreDWG",
"libredwg"
] | similar to json. and vice versa embed \U+XXXX wchars in ASCII strings when encoding to <r2007
also for FIELD_T check the version and from_version and convert on encode accordingly. Also output modules, but they do use utf8 usually.
On decode and importers the version == from_version, there's no known target versio... | convert unicode chars when saveas <r2007 as \U+XXXX | https://api.github.com/repos/LibreDWG/libredwg/issues/185/comments | 0 | 2020-01-14T06:12:34Z | 2020-01-15T13:50:18Z | https://github.com/LibreDWG/libredwg/issues/185 | 549,355,743 | 185 |
[
"LibreDWG",
"libredwg"
] | git does not save empty diffs for bumped timestamps. whenever we change a dynapi dependency, such as dwg.h
1) we'd need to bump the generated files also.
easiest add the PACKAGE_VERSION to all 3 generated files: test/unit-testing/dynapi_test.c src/dynapi.c doc/dynapi.texi
make dist frequently fails when it calls ... | touch the dynapi generated files, add the version | https://api.github.com/repos/LibreDWG/libredwg/issues/184/comments | 0 | 2020-01-13T11:26:04Z | 2020-01-16T23:22:52Z | https://github.com/LibreDWG/libredwg/issues/184 | 548,868,394 | 184 |
[
"LibreDWG",
"libredwg"
] | I found a bug in dwg2dxf.
POC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG_69b5609/id:000000%2Csig:06%2Csrc:000001%2Cop:flip4%2Cpos:27167
```
==29243==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6140000005b2 at pc 0x7ffafa9dc77a bp 0x7ffcc19b07e0 sp 0x7ffcc19aff88
WRITE of size 126 ... | Heap over flow | https://api.github.com/repos/LibreDWG/libredwg/issues/183/comments | 2 | 2020-01-13T02:49:42Z | 2020-01-16T12:12:04Z | https://github.com/LibreDWG/libredwg/issues/183 | 548,674,750 | 183 |
[
"LibreDWG",
"libredwg"
] | Hi,
After fuzzing libredwg, I found the following bugs on the latest commit on master.
Command: ./dwg2SVG $PoC
**1.NULL pointer dereference in htmlescape ../../programs/escape.c:29**
POC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG_7b9cb829/id:000013%2Csig:06%2Csrc:000000%2Cop:flip1%2Cpos:46417
A... | Several bugs found by fuzzing | https://api.github.com/repos/LibreDWG/libredwg/issues/182/comments | 9 | 2020-01-10T06:17:10Z | 2020-01-16T12:12:04Z | https://github.com/LibreDWG/libredwg/issues/182 | 547,887,727 | 182 |
[
"LibreDWG",
"libredwg"
] | use logging.h throughout, get rid of all remaining rogue fprintf and stderr in `src/`, which need to be overridable via logging.h
ok in programs and examples
library users want to catch fprintf and/or stderr. | consistent logging handlers, no fprintf, stderr in the lib | https://api.github.com/repos/LibreDWG/libredwg/issues/181/comments | 0 | 2020-01-09T12:19:42Z | 2020-01-09T14:34:51Z | https://github.com/LibreDWG/libredwg/issues/181 | 547,444,590 | 181 |
[
"LibreDWG",
"libredwg"
] | still broken if num_eed > 0
see dwgrewrite examples | encode EED | https://api.github.com/repos/LibreDWG/libredwg/issues/180/comments | 1 | 2020-01-06T07:48:30Z | 2020-01-08T07:42:20Z | https://github.com/LibreDWG/libredwg/issues/180 | 545,590,707 | 180 |
[
"LibreDWG",
"libredwg"
] | Hi,
After fuzzing libredwg, I found the following bugs on the latest commit on master.
Command: ./dwg2svg2 $PoC
**1.heap-buffer-overflow in read_pages_map ../../src/decode_r2007.c:1007**
POC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG_0.9.3.2564/id:000239%2Csig:06%2Csrc:007083%2Cop:havoc%2Crep:4
... | Several bugs found by fuzzing | https://api.github.com/repos/LibreDWG/libredwg/issues/179/comments | 7 | 2020-01-03T03:19:25Z | 2020-01-16T12:12:04Z | https://github.com/LibreDWG/libredwg/issues/179 | 544,834,443 | 179 |
[
"LibreDWG",
"libredwg"
] | Hi,
I got some bugs, and I tested on master branch and version **0.9.3**. There are **3 heap overflow**, **2 NULL pointer deference**, **1 denial of service**, **1 stack overflow** (this bug causes memory leak in master branch) in that.
Compile with **ASAN** and use **dwgrewrite** to repro that.
Hear are some detail... | Several bugs need to be fixed. | https://api.github.com/repos/LibreDWG/libredwg/issues/178/comments | 18 | 2019-12-31T06:04:23Z | 2020-01-16T12:12:03Z | https://github.com/LibreDWG/libredwg/issues/178 | 544,098,538 | 178 |
[
"LibreDWG",
"libredwg"
] | I read a dwg file which layer name is all Chinese.
the result of reading is error codes,
is there any way to convert them to normal? | can't read Chinese layer name | https://api.github.com/repos/LibreDWG/libredwg/issues/177/comments | 2 | 2019-12-29T10:40:59Z | 2020-01-06T07:55:36Z | https://github.com/LibreDWG/libredwg/issues/177 | 543,354,342 | 177 |
[
"LibreDWG",
"libredwg"
] | Hi,
After fuzzing libredwg, I found the following bugs on the latest commit on master.
Command: dwg2dxf $PoC
**1.Crafted input will lead to Memory allocation failed in dwg_decode_SPLINE_private (src/dwg.spec:1639)**
PoC: https://github.com/linhlhq/research/blob/master/PoCs/libreDWG/id:000000%2Csig:06%2Csrc:000000%2... | Several bugs found by fuzzing | https://api.github.com/repos/LibreDWG/libredwg/issues/176/comments | 24 | 2019-12-24T03:44:32Z | 2020-01-16T12:12:03Z | https://github.com/LibreDWG/libredwg/issues/176 | 541,977,765 | 176 |
[
"LibreDWG",
"libredwg"
] | I am trying to build libredwg docker image
based on the following dockerfile:
```
FROM debian:sid
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN sed -i 's/archive/ru.archive/g' /etc/apt/sources.list \
&& apt-get update \
&& apt-g... | Docker image make check fails on import libxml2 | https://api.github.com/repos/LibreDWG/libredwg/issues/175/comments | 4 | 2019-12-20T09:42:37Z | 2020-01-06T07:52:35Z | https://github.com/LibreDWG/libredwg/issues/175 | 540,894,997 | 175 |
[
"LibreDWG",
"libredwg"
] | https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/decode.c#L2552
https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/decode_r2007.c#L1594
Is a type casting (int) missed? | Type casting inconsistency | https://api.github.com/repos/LibreDWG/libredwg/issues/174/comments | 1 | 2019-12-11T16:47:09Z | 2020-01-06T07:52:35Z | https://github.com/LibreDWG/libredwg/issues/174 | 536,491,736 | 174 |
[
"LibreDWG",
"libredwg"
] | A NULL check on `mspace ` is missing here:
https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/out_dxfb.c#L1869-L1879
While it is done here, which is a similar case:
https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/out_dxf.c#L2261-L2274
... | Missing NULL check | https://api.github.com/repos/LibreDWG/libredwg/issues/173/comments | 0 | 2019-12-11T16:32:56Z | 2019-12-26T21:16:00Z | https://github.com/LibreDWG/libredwg/issues/173 | 536,483,875 | 173 |
[
"LibreDWG",
"libredwg"
] | I think a null check on `dwg->dwg_class` is missing here:
https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/print.c#L588-L594
While it is done here, which is a similar cases:
https://github.com/LibreDWG/libredwg/blob/785df5f3b9b38dd383fa205791aedd9cb9302b4c/src/free.c#L727-... | Potential Null dereference | https://api.github.com/repos/LibreDWG/libredwg/issues/172/comments | 2 | 2019-12-11T16:13:30Z | 2020-01-16T12:12:02Z | https://github.com/LibreDWG/libredwg/issues/172 | 536,472,254 | 172 |
[
"LibreDWG",
"libredwg"
] | dwgrewrite.c present in programs reads a dwg file and rewrites.
using `dwg_write_file` results in errors and the exported file cannot be opened.
`Reading DWG file ../libredwg/test/test-data/sample_2000.dwg
ERROR: Second header num_handlers > 16: 17259
Writing DWG file sample_2000-rewrite.dwg
Warning: Wrong ... | dwgrewrite.c results in errors | https://api.github.com/repos/LibreDWG/libredwg/issues/171/comments | 5 | 2019-12-01T11:48:09Z | 2020-01-06T07:52:34Z | https://github.com/LibreDWG/libredwg/issues/171 | 530,718,604 | 171 |
[
"LibreDWG",
"libredwg"
] | On make i get these error
`make[2]: Entering directory '/media/vishnu/LocalDisk1/SourceCodes/libredwg/doc'
/usr/bin/perl ../src/gen-dynapi.pl
Can't locate Convert/Binary/C.pm in @INC (you may need to install the Convert::Binary::C module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/loc... | Could not build libredwg in Ubuntu 18.04.2 LTS | https://api.github.com/repos/LibreDWG/libredwg/issues/170/comments | 3 | 2019-11-28T18:22:28Z | 2020-01-06T07:52:34Z | https://github.com/LibreDWG/libredwg/issues/170 | 530,039,746 | 170 |
[
"LibreDWG",
"libredwg"
] | Would be great if there is a single example that covers
Read DWG
Edit something
Write the edit DWG
Would be great as one can use it for beginning. If there is one already please help me spot it. | Need an example for beginner with basic needs | https://api.github.com/repos/LibreDWG/libredwg/issues/169/comments | 1 | 2019-11-21T09:02:21Z | 2020-11-16T16:57:57Z | https://github.com/LibreDWG/libredwg/issues/169 | 526,453,918 | 169 |
[
"LibreDWG",
"libredwg"
] | I'm using dwg2svg2 and dwg2SVG
Need to change the stoke and stroke-width in generated svg | How to change stroke and stroke-width in c file | https://api.github.com/repos/LibreDWG/libredwg/issues/168/comments | 2 | 2019-11-19T15:42:59Z | 2020-07-11T09:20:12Z | https://github.com/LibreDWG/libredwg/issues/168 | 525,091,406 | 168 |
[
"LibreDWG",
"libredwg"
] | It seems layer names in the format "ABCD(space)ABDC" are being renamed to "ABCD_ABCD" where any space char is replaced by a "_" char.
Sample file attached and screenshot inside AutoCAD comparing to the dwglayers.exe output.
It seems the issue doesn't have to do with dwglayers app itself.
Maybe something with thi... | dwglayers should optionally display EXTNAMES (spaces vs _) | https://api.github.com/repos/LibreDWG/libredwg/issues/167/comments | 3 | 2019-11-05T15:36:03Z | 2019-11-07T10:35:18Z | https://github.com/LibreDWG/libredwg/issues/167 | 517,849,124 | 167 |
[
"LibreDWG",
"libredwg"
] | Hi,
I'm trying to run the dwglayers.exe app with some DWG files.
It works just fine when called via BAT command but when called from a .NET app using Process class it works sometimes and fails to get information from some dwg files.
```
ProcessStartInfo objStartInfo = new ProcessStartInfo();
... | Odd buffer output | https://api.github.com/repos/LibreDWG/libredwg/issues/166/comments | 7 | 2019-11-04T12:53:24Z | 2019-11-05T14:33:04Z | https://github.com/LibreDWG/libredwg/issues/166 | 517,131,911 | 166 |
[
"LibreDWG",
"libredwg"
] | I use 0.9 version of libredwg to decode a R2000 version of DWG file and draw all entities in the Dwg_Data, and find that there are some ARCs missing.
Here is a comparison between the results of my program drawing and the results of commercial software display.
 at decode.c:4210
4210 ... | Null pointer dereference in libredwg 0.9.2400 | https://api.github.com/repos/LibreDWG/libredwg/issues/163/comments | 0 | 2019-10-25T09:57:59Z | 2020-01-16T12:12:02Z | https://github.com/LibreDWG/libredwg/issues/163 | 512,421,307 | 163 |
[
"LibreDWG",
"libredwg"
] | when parse a crafted dwg file , libredwg could dos and cpu 100%
cmdline
```
./dwg2svg2 libredwg2400-dos.dwg
```
poc
```
https://github.com/hac425xxx/fuzzdata/blob/master/libredwg2400-dos.dwg
``` | DOS in libredwg 0.9.2400 | https://api.github.com/repos/LibreDWG/libredwg/issues/162/comments | 0 | 2019-10-25T09:48:17Z | 2019-10-25T15:46:08Z | https://github.com/LibreDWG/libredwg/issues/162 | 512,416,425 | 162 |
[
"LibreDWG",
"libredwg"
] | when parse a crafted dwg file , libredwg could dos and cpu 100%
cmdline
```
./dwg2svg2 dos.dwg
```
poc
```
https://github.com/hac425xxx/fuzzdata/blob/master/dos.dwg
``` | DOS in dwg2svg2 | https://api.github.com/repos/LibreDWG/libredwg/issues/161/comments | 0 | 2019-10-22T03:07:33Z | 2020-01-16T12:12:02Z | https://github.com/LibreDWG/libredwg/issues/161 | 510,403,970 | 161 |
[
"LibreDWG",
"libredwg"
] | asan output
```
~/workplace/asan/libredwg-0.9.2376/examples$ ./dwg2svg2 heapoverflow2.dwg
=================================================================
==164471== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60400000ffff at pc 0x7f5784c536db bp 0x7ffdfb0a2d30 sp 0x7ffdfb0a2d28
READ of size 1 at ... | heapoverflow in read_R2004_section_map | https://api.github.com/repos/LibreDWG/libredwg/issues/160/comments | 0 | 2019-10-22T02:57:47Z | 2020-01-16T12:12:01Z | https://github.com/LibreDWG/libredwg/issues/160 | 510,401,817 | 160 |
[
"LibreDWG",
"libredwg"
] | AddressSanitizer output:
```
~/workplace/asan/libredwg-0.9.2376/examples$ ./dwg2svg2 heapoverflow.dwg
=================================================================
==144878== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60440000fef8 at pc 0x7feac351c84e bp 0x7fff36a49360 sp 0x7fff36a49358
WRIT... | heapoverflow in dwg2svg2 | https://api.github.com/repos/LibreDWG/libredwg/issues/159/comments | 0 | 2019-10-22T02:44:14Z | 2020-01-16T12:12:01Z | https://github.com/LibreDWG/libredwg/issues/159 | 510,398,780 | 159 |
[
"LibreDWG",
"libredwg"
] | The crash context in gdb
```
pwndbg> r
Starting program: /home/xxxxxx/workplace/libredwg-0.9.2376/examples/.libs/dwg2svg2 poc.dwg
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff793bd84 in decode_R13_R2000 (dat=dat@entry=0x7fffffffdee0, dwg=dwg@entry=0x6032a0 <g_dwg>) at decode.c:1109
1109 ... | Null pointer dereference in decode_R13_R2000 | https://api.github.com/repos/LibreDWG/libredwg/issues/158/comments | 0 | 2019-10-22T02:24:24Z | 2020-01-16T12:12:00Z | https://github.com/LibreDWG/libredwg/issues/158 | 510,394,148 | 158 |
[
"LibreDWG",
"libredwg"
] | I am looking for a library that allows reading DWG files on Android. And I found this library, but it was written in C ++ and I don't know how to port for Android. I am very grateful if anyone can help to use on Android.
Thank you very much, | How to port library for Android OS | https://api.github.com/repos/LibreDWG/libredwg/issues/157/comments | 3 | 2019-10-18T08:54:31Z | 2019-10-18T09:55:12Z | https://github.com/LibreDWG/libredwg/issues/157 | 508,945,045 | 157 |
[
"LibreDWG",
"libredwg"
] | Hello, I tested version 0.9 and I have the following problems:
I have provided two dwg files, tmp1.dwg and tmp2.dwg.
The tmp1.dwg file contains the shx font. The text content is well preserved when exporting, but all the characters are replaced with truetype fonts. So after dwg is converted into svg, many style chang... | fonts and some erro. | https://api.github.com/repos/LibreDWG/libredwg/issues/156/comments | 3 | 2019-10-15T14:35:36Z | 2019-10-28T09:20:20Z | https://github.com/LibreDWG/libredwg/issues/156 | 507,287,961 | 156 |
[
"LibreDWG",
"libredwg"
] | I am not an experienced programmer.I am confused, why can you provide DLL files, but do not provide WINDOWS source code? I really need to use this library on WINDOWS | How to find WINDOWS source code | https://api.github.com/repos/LibreDWG/libredwg/issues/155/comments | 1 | 2019-10-08T02:16:03Z | 2019-10-08T04:50:31Z | https://github.com/LibreDWG/libredwg/issues/155 | 503,784,462 | 155 |
[
"LibreDWG",
"libredwg"
] | Are there any docs for the python bindings available. I have no idea how to use libredwg and run into a crash imediatly:
```
>>> import LibreDWG
>>> LibreDWG.Dwg_Data()
<LibreDWG.Dwg_Data; proxy of <Swig Object of type '_dwg_struct *' at 0x7f1dbf13d9c0> >
>>> data = LibreDWG.Dwg_Data()
>>> data.swig/python dete... | docs for python bindings | https://api.github.com/repos/LibreDWG/libredwg/issues/152/comments | 6 | 2019-10-02T11:58:09Z | 2020-10-01T15:40:16Z | https://github.com/LibreDWG/libredwg/issues/152 | 501,444,261 | 152 |
[
"LibreDWG",
"libredwg"
] | also free is crashing on uaf | indxf leaks | https://api.github.com/repos/LibreDWG/libredwg/issues/151/comments | 1 | 2019-10-01T06:39:15Z | 2020-08-02T11:09:03Z | https://github.com/LibreDWG/libredwg/issues/151 | 500,695,946 | 151 |
[
"LibreDWG",
"libredwg"
] | ✓ INSERT.block_header missing
✓ WIPEOUT.uvec wrong
✓ WIPEOUT.imagedefreactor 360: code 5 => 3
✓ VPORT: 41, 71 wrong
✓ REGION: encr_sat_data (encode)
✓ DIMASSOC | minor indxf things missing | https://api.github.com/repos/LibreDWG/libredwg/issues/150/comments | 0 | 2019-09-30T10:00:04Z | 2019-10-01T10:01:01Z | https://github.com/LibreDWG/libredwg/issues/150 | 500,174,494 | 150 |
[
"LibreDWG",
"libredwg"
] | Hello, test dwg2SVG(0.8.2), the exported content will always prompt an error, is it wrong with me? But using dwg2dxf is normal.
Such as tips:

[libredwg test.zip](https://github.com/LibreDWG/libredwg/files/3... | dwg2SVG exported content will always prompt an error | https://api.github.com/repos/LibreDWG/libredwg/issues/149/comments | 2 | 2019-09-30T02:32:55Z | 2019-10-02T08:25:34Z | https://github.com/LibreDWG/libredwg/issues/149 | 500,017,715 | 149 |
[
"LibreDWG",
"libredwg"
] | I encountered an error while executing ./configure: Can't find install-sh, install.sh, or shtool in build-aux "."/build-aux
and
build-aux/git-version-gen: WARNING: .tarball-version is missing or damaged
when i executing autogen.sh | error: cannot find install-sh | https://api.github.com/repos/LibreDWG/libredwg/issues/148/comments | 1 | 2019-09-29T02:17:56Z | 2019-11-05T14:07:05Z | https://github.com/LibreDWG/libredwg/issues/148 | 499,844,444 | 148 |
[
"LibreDWG",
"libredwg"
] | to enable prettier ref -> TYPE (name) logging,
and also to calloc the dwg->objects array earlier, and get away with much less dirty_refs,
which helps the importers greatly.
also doable for decode, not just the importers. with decode just scan the HANDLES (object-map) for its types.
for indxf just scan all 0 lines... | indxf: prescan all objects and types | https://api.github.com/repos/LibreDWG/libredwg/issues/147/comments | 0 | 2019-09-25T09:41:19Z | 2019-09-25T09:42:53Z | https://github.com/LibreDWG/libredwg/issues/147 | 498,170,132 | 147 |
[
"LibreDWG",
"libredwg"
] | BLOCK_HEADER.*Model_Space (1F) is still missing the entity refs:
```
block_entity: (3.1.20) abs:20 [H 0]
-first_entity: (4.1.8B) abs:8B [H 0]
-last_entity: (4.2.894) abs:894 [H 0]
-endblk_entity: (3.1.21) abs:21 [H 0]
+first_entity: (4.0.0) abs:0 [H 0]
+last_entity: (4.0.0) abs:0 [H 0]
+endblk_entity: (3.0.0) a... | indxf: BLOCK_HEADER missing entity refs | https://api.github.com/repos/LibreDWG/libredwg/issues/146/comments | 1 | 2019-09-25T09:36:32Z | 2019-09-27T13:29:02Z | https://github.com/LibreDWG/libredwg/issues/146 | 498,167,592 | 146 |
[
"LibreDWG",
"libredwg"
] | in_dxf creates only structured eed->data, no eed-.>raw.
Roundtripping fails. | in_dxf/encode EED's | https://api.github.com/repos/LibreDWG/libredwg/issues/145/comments | 1 | 2019-09-25T09:34:37Z | 2019-09-27T12:53:56Z | https://github.com/LibreDWG/libredwg/issues/145 | 498,166,545 | 145 |
[
"LibreDWG",
"libredwg"
] | I am using command line tool like :
dwg2dxf data.dwg
I tried converting few dwg file few worked properly. But when i tried to convert a file which have multiple feautre i.e point, line and polygon, it gives an error like this:
```
Reading DWG file data.dwg
Section[10132]=9933, size: 4864, address: 0xfff38ca
... | r2013 section-map overflows | https://api.github.com/repos/LibreDWG/libredwg/issues/144/comments | 9 | 2019-09-18T13:44:39Z | 2022-04-11T06:25:01Z | https://github.com/LibreDWG/libredwg/issues/144 | 495,236,304 | 144 |
[
"LibreDWG",
"libredwg"
] | Hi,
When I convert dwg to dxf, I noticed that there are some problems below :
-1 missing entity in Block reference.
- Entity color is converted ByBlock instead of ByLayer or RGB,
- BLOCKINSERT is missing,
- Some error messages in some dwg files.
Simple test file is attached,
Thanks
[testBlock.zip](https://gi... | 1 Missing entity in BLOCK reference in dwg2dxf | https://api.github.com/repos/LibreDWG/libredwg/issues/143/comments | 8 | 2019-09-13T05:36:50Z | 2019-10-05T19:25:58Z | https://github.com/LibreDWG/libredwg/issues/143 | 493,144,559 | 143 |
[
"LibreDWG",
"libredwg"
] | The tables, the NOD (named object dict) are not imported and the ACAD APPID not, and the entities neither.
The problem is for sure the HANDLE table (object map), but the OBJECTS table also.
Also the header CRC is wrong.
This is the log of the acad2018 audit:
```
Scanning completed.
Reconstructing handle table f... | dxf import entities | https://api.github.com/repos/LibreDWG/libredwg/issues/142/comments | 2 | 2019-09-12T09:00:31Z | 2019-09-27T13:29:52Z | https://github.com/LibreDWG/libredwg/issues/142 | 492,676,172 | 142 |
[
"LibreDWG",
"libredwg"
] | with -O2 and inlining or loop-unrolling restrict is broken since gcc 5 and clang 6 until now.
in clang bug added with llvm r305938
https://github.com/rust-lang/rust/issues/54878
https://bugs.llvm.org/show_bug.cgi?id=39282
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609
Add a m4 probe and undefine it then. | probe for broken restrict | https://api.github.com/repos/LibreDWG/libredwg/issues/141/comments | 2 | 2019-09-08T13:05:54Z | 2019-09-09T07:35:19Z | https://github.com/LibreDWG/libredwg/issues/141 | 490,752,078 | 141 |
[
"LibreDWG",
"libredwg"
] | `./dxf -y ../td/*.dxf ../td/*/*.dxf`
`grep -h ERROR *.dxf.log | sort -u`
* ERROR: dwg_dynapi_entity_set_value: Invalid entity type BLOCK_HEADER, wanted BLOCK_RECORD => handled in GH #133
✓ ERROR: dwg_dynapi_entity_value: Invalid UNDERLAY field scale_flag
✓ ERROR: AddressSanitizer: stack-buffer-overflow on ASSOC2... | indxf: remaining errors | https://api.github.com/repos/LibreDWG/libredwg/issues/140/comments | 0 | 2019-09-02T15:03:59Z | 2019-09-08T11:25:55Z | https://github.com/LibreDWG/libredwg/issues/140 | 488,232,505 | 140 |
[
"LibreDWG",
"libredwg"
] | * example_2000_min.dxf.log:==21314==ERROR: AddressSanitizer: heap-buffer-overflow
POLYLINE_2D.210
* LCAD_libereco_R2000.dxf.log:==21365==ERROR: AddressSanitizer: heap-use-after-free
minimized dxf (999, "dxflib 2.2.0.0")
Need to fail on minimized DXF
* Leader_2018.dxf.log:==21926==ERROR: AddressSanitizer: heap-... | indxf: remaining crashes | https://api.github.com/repos/LibreDWG/libredwg/issues/139/comments | 1 | 2019-09-02T15:00:01Z | 2019-09-08T11:25:03Z | https://github.com/LibreDWG/libredwg/issues/139 | 488,230,857 | 139 |
[
"LibreDWG",
"libredwg"
] | to the entities. not in the DXF. postprocess them. | indxf: add attrib_handles, vertices | https://api.github.com/repos/LibreDWG/libredwg/issues/138/comments | 0 | 2019-08-30T16:01:35Z | 2019-09-09T17:22:51Z | https://github.com/LibreDWG/libredwg/issues/138 | 487,559,737 | 138 |
[
"LibreDWG",
"libredwg"
] | Hi
dwg2svg is constantly ignoring all polylines in various dwg files.
is that right? Am i missing something? | dwg2SVG is ignoring all polylines | https://api.github.com/repos/LibreDWG/libredwg/issues/137/comments | 4 | 2019-08-28T08:55:37Z | 2019-11-05T14:03:04Z | https://github.com/LibreDWG/libredwg/issues/137 | 486,245,264 | 137 |
[
"LibreDWG",
"libredwg"
] | use vtables, like dxf_read_pair or such.
for dxf, dxfb, json, ... (all possible import formats)
first seperate dxfb from dxf ascii but keep json in mind.
using the spec just would not make it, I fear. REPEAT blocks, different order of fields, ...
dxf:
* skip_ws
* read_string
* read_code
* read_long
mayb... | generalize importers | https://api.github.com/repos/LibreDWG/libredwg/issues/136/comments | 1 | 2019-08-19T15:38:17Z | 2020-01-08T07:43:20Z | https://github.com/LibreDWG/libredwg/issues/136 | 482,384,170 | 136 |
[
"LibreDWG",
"libredwg"
] | at least finish the entities:
* ~~SPLINE type, pts, ...~~ done with cf281a26
* ~~MTEXT 46~~ done with 3bded2771068a1c6e10a52d408f8a3dd191c9da4, rect_height
* ~~MLINE~~ done with cda3a03f7354f6729b992b066104a301f3fc59cb
* ~~SOLID (30-33)~~ done with 234bd2ef085a3c802b218f4f1b237b79c7fb8c7b
* ~~TEXT 31~~
* ~~WIPEO... | indxf: missing entity fields | https://api.github.com/repos/LibreDWG/libredwg/issues/135/comments | 0 | 2019-08-16T12:18:14Z | 2019-09-02T11:03:57Z | https://github.com/LibreDWG/libredwg/issues/135 | 481,583,360 | 135 |
[
"LibreDWG",
"libredwg"
] | no seperate in_dxfb importer.
handle the 2 different readers dynamically: ascii or binary for numbers, strings, handles.
needs a new dat flag. | indxfb: move to in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/134/comments | 0 | 2019-08-16T12:12:06Z | 2019-12-26T21:16:50Z | https://github.com/LibreDWG/libredwg/issues/134 | 481,581,259 | 134 |
[
"LibreDWG",
"libredwg"
] | * block sections entities are ignored.
* TODO resolve handle name INSERT.block_header ...
* dwg_dynapi_entity_set_value: Invalid entity type BLOCK_HEADER, wanted BLOCK_RECORD | indxf: read blocks | https://api.github.com/repos/LibreDWG/libredwg/issues/133/comments | 0 | 2019-08-16T12:07:57Z | 2019-09-10T11:31:28Z | https://github.com/LibreDWG/libredwg/issues/133 | 481,579,916 | 133 |
[
"LibreDWG",
"libredwg"
] | Parsing these files leads to a crash.
[CRASH-FILES.zip](https://github.com/LibreDWG/libredwg/files/3504842/CRASH-FILES.zip)
| Crash files | https://api.github.com/repos/LibreDWG/libredwg/issues/132/comments | 2 | 2019-08-15T08:43:12Z | 2019-09-09T13:25:04Z | https://github.com/LibreDWG/libredwg/issues/132 | 481,053,737 | 132 |
[
"LibreDWG",
"libredwg"
] | Rewrite the importer with the dynapi, dynamically looking up the names of the fields to be set.
See the `smoke/indxf` branch, looks very good so far. | dxf2dwg for R_2000 | https://api.github.com/repos/LibreDWG/libredwg/issues/129/comments | 3 | 2019-08-06T10:11:43Z | 2019-08-16T08:41:03Z | https://github.com/LibreDWG/libredwg/issues/129 | 477,291,769 | 129 |
[
"LibreDWG",
"libredwg"
] | os: Ubuntu 18.04
went through the installation instructions and got the make install
and then this is my output.
not sure what exactly is going on but every step beyond this gives nothing but errors
`make install
make install-recursive
make[1]: Entering directory '/home/speed/Downloads/libredwg-0.8.1969'
M... | cannot create regular file | https://api.github.com/repos/LibreDWG/libredwg/issues/128/comments | 1 | 2019-08-04T04:08:11Z | 2019-08-04T12:04:18Z | https://github.com/LibreDWG/libredwg/issues/128 | 476,512,548 | 128 |
[
"LibreDWG",
"libredwg"
] | we already generate the dynapi tests automatically.
generate the texinfo to be included into the docs also.
* HEADER
* TABLE
* OBJECT
* ENTITY
* CLASS
| generate object/field documentation from dynapi | https://api.github.com/repos/LibreDWG/libredwg/issues/127/comments | 2 | 2019-08-03T20:53:50Z | 2019-08-06T15:01:15Z | https://github.com/LibreDWG/libredwg/issues/127 | 476,488,606 | 127 |
[
"LibreDWG",
"libredwg"
] | Hi,
After fuzzing libredwg, I found the following bugs on the latest commit 959984b on master.
Command: dwg2SVG $PoC
### 1. Invalid free in decode.c:2289
PoC: https://github.com/strongcourage/PoCs/blob/master/libredwg_959984b/PoC_af_decode.c:2289
ASAN says:
~~~
==20736==ERROR: AddressSanitizer: attempting free... | Several bugs found by fuzzing | https://api.github.com/repos/LibreDWG/libredwg/issues/126/comments | 18 | 2019-07-27T23:39:08Z | 2019-08-01T17:36:14Z | https://github.com/LibreDWG/libredwg/issues/126 | 473,688,113 | 126 |
[
"LibreDWG",
"libredwg"
] | I have a reproducible crash that happens only intermittently on the same file.
dwgread.exe -v3 trouble.dwg
No error is reported--the output simply stops mid print and crashes with return code 1. If I run the same file again, I may get the same result, or else it may succeed.
On this file the output (includi... | dwgread randomly crashes on same file (windows 7 64 bit) | https://api.github.com/repos/LibreDWG/libredwg/issues/125/comments | 1 | 2019-07-22T16:52:09Z | 2019-08-02T11:38:36Z | https://github.com/LibreDWG/libredwg/issues/125 | 471,188,369 | 125 |
[
"LibreDWG",
"libredwg"
] | * unmaintained,
* full of errors and missing pragmas,
* trivial to implement properly by ourself
The `test/testcases/` directory needs to go.
* we don't want to depend on **expect** to check the tests.
* move some of the useful tests over to unit-testing,
* rewrite unit-testing for actual unit-testing erro... | remove dejagnu | https://api.github.com/repos/LibreDWG/libredwg/issues/124/comments | 0 | 2019-07-22T07:10:37Z | 2019-07-25T14:03:51Z | https://github.com/LibreDWG/libredwg/issues/124 | 470,930,176 | 124 |
[
"LibreDWG",
"libredwg"
] | ODA: 'ENC: This color is used by entities'
But the dwg.spec and unknown don't care. | color ENC vs CMC | https://api.github.com/repos/LibreDWG/libredwg/issues/123/comments | 3 | 2019-07-16T19:37:15Z | 2020-04-11T07:28:02Z | https://github.com/LibreDWG/libredwg/issues/123 | 468,828,380 | 123 |
[
"LibreDWG",
"libredwg"
] | system ar rarely supports the gold plugin and does not use it.
problematic is also libtool, which uses some ar for the static lib, but clang would need llvm-ar and llvm-ranlib.
gcc -flto -O3 catches many -Wnull-dereference bugs. | Add ar probe for -flto | https://api.github.com/repos/LibreDWG/libredwg/issues/122/comments | 1 | 2019-07-16T17:50:28Z | 2019-07-16T21:43:07Z | https://github.com/LibreDWG/libredwg/issues/122 | 468,785,005 | 122 |
[
"LibreDWG",
"libredwg"
] | See branch `smoke/logging`
It looks expensive, timings:
```
without with
make check 0m12.034s 0m12.303s
(mostly -v2)
./logs-all.sh 0m35.934s 0m37.324s
(only -v4)
```
so it's neglectable.
TODO -Wno-format-nonliteral
| expand [rcount1], [rcount2] to [%d] for LOG_TRACE, better logging | https://api.github.com/repos/LibreDWG/libredwg/issues/121/comments | 0 | 2019-07-15T07:21:38Z | 2019-07-15T13:33:57Z | https://github.com/LibreDWG/libredwg/issues/121 | 467,975,839 | 121 |
[
"LibreDWG",
"libredwg"
] | Consider attached [patch](https://github.com/LibreDWG/libredwg/files/3388944/decode-endian-fixes.txt). It might not be perfect and I've only tested it under FreeBSD (`#include <sys/endian.h>`), so some adjustments are most certainly in order for GNU/Linux and other systems, but it seems to fix R2004 decoding and allow... | Add big-endian support | https://api.github.com/repos/LibreDWG/libredwg/issues/120/comments | 4 | 2019-07-13T15:42:26Z | 2023-04-13T08:39:18Z | https://github.com/LibreDWG/libredwg/issues/120 | 467,735,126 | 120 |
[
"LibreDWG",
"libredwg"
] | with known str and hdl streams seperate the unknown bits into 3 instead of just one stream, to be analyzed offline.
eg.
```
Object number: 242/F2, Size: 86/0x56, Hdlsize: 71, Type: 523
Warning: Unhandled Class object 523 ACDBASSOCGEOMDEPENDENCY (0x401) 242/0
Add object UNKNOWN_OBJ Decode object UNKNOWN_OBJ
bit... | seperate unknown_bits into dat,hdl,str r2007+ | https://api.github.com/repos/LibreDWG/libredwg/issues/119/comments | 1 | 2019-07-13T09:33:36Z | 2019-07-16T07:30:16Z | https://github.com/LibreDWG/libredwg/issues/119 | 467,697,699 | 119 |
[
"LibreDWG",
"libredwg"
] | Hi,
The FIELDLIST object does not correctly decode it's field handles because there is an owerhandle, reactors and xdic handle read missing.
The following:
START_HANDLE_STREAM;
HANDLE_VECTOR (field_handles, num_fields, 0, 330); // 2 or 4, or 3.0.0
needs to change to (need to add ownerhandle to dwg_object... | FIELDLIST handles (and maybe many more objects) not decoded correctly | https://api.github.com/repos/LibreDWG/libredwg/issues/118/comments | 3 | 2019-07-05T09:25:48Z | 2019-07-07T18:52:58Z | https://github.com/LibreDWG/libredwg/issues/118 | 464,548,961 | 118 |
[
"LibreDWG",
"libredwg"
] | Hi,
The FIELD object does not decode correctly because:
1) Data is read into unallocated memory area.
2) The handles are not read from the handle stream.
The following changes are needed:
DECODER { if (_obj->num_childs) _obj->num_childs--; }
//DEBUG_HERE_OBJ
HANDLE_VECTOR (childs, num_childs, 3, 360)... | Invalid FIELD object decoding | https://api.github.com/repos/LibreDWG/libredwg/issues/117/comments | 0 | 2019-07-05T08:50:54Z | 2019-07-07T18:12:16Z | https://github.com/LibreDWG/libredwg/issues/117 | 464,534,186 | 117 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.