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"
] | ### system info
Ubuntu x86_64, clang 6.0, dwg2dxf([0.12.4.4608](https://github.com/LibreDWG/libredwg/releases/tag/0.12.4.4608))
### Command line
./programs/dwg2dxf -b -m @@ -o /dev/null
### AddressSanitizer output
==8982==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x616000000592 at pc 0x000000528... | heap-buffer-overflow exists in the function bit_calc_CRC in bits.c | https://api.github.com/repos/LibreDWG/libredwg/issues/484/comments | 3 | 2022-06-07T01:21:33Z | 2022-12-15T08:15:29Z | https://github.com/LibreDWG/libredwg/issues/484 | 1,262,604,647 | 484 |
[
"LibreDWG",
"libredwg"
] | @rurban
In the BLOCK_HEADER table entry is after name address of entity in block list.
How could I process this address? | preR13 block table entry | https://api.github.com/repos/LibreDWG/libredwg/issues/483/comments | 12 | 2022-06-02T00:07:01Z | 2023-01-20T14:30:27Z | https://github.com/LibreDWG/libredwg/issues/483 | 1,257,337,123 | 483 |
[
"LibreDWG",
"libredwg"
] | I think the GeoJSON export feature is barely usable at this moment. GeoJSON should follow WGS84/EPSG:4326 https://datatracker.ietf.org/doc/html/rfc7946.
So, I think the workflow should be like:
1. Check if there is geo reference and coordinate system information in the dwg file first. If not, require user add i... | Expectation for dwgread to GeoJSON - EPSG:4326 standard | https://api.github.com/repos/LibreDWG/libredwg/issues/481/comments | 1 | 2022-06-01T16:44:46Z | 2022-06-02T04:21:07Z | https://github.com/LibreDWG/libredwg/issues/481 | 1,256,472,011 | 481 |
[
"LibreDWG",
"libredwg"
] | I checked out the master branch and installed the required libs.
After run "./configre", I got
```
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able... | failed to build on Ubuntu | https://api.github.com/repos/LibreDWG/libredwg/issues/479/comments | 2 | 2022-05-31T17:28:22Z | 2022-05-31T20:28:18Z | https://github.com/LibreDWG/libredwg/issues/479 | 1,254,174,516 | 479 |
[
"LibreDWG",
"libredwg"
] | Hello everyone,
I’m using the dxf2dwg program and converting does prints some errors and warning:
ERROR: dwg_dynapi_entity_set_value: Invalid VPORT_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LTYPE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LAYER_CONTROL field objid
ERR... | dxf2dwg file does not open with minimal DXF | https://api.github.com/repos/LibreDWG/libredwg/issues/474/comments | 6 | 2022-05-14T09:04:57Z | 2022-09-09T06:58:21Z | https://github.com/LibreDWG/libredwg/issues/474 | 1,235,921,273 | 474 |
[
"LibreDWG",
"libredwg"
] | There is something wrong with entity parsing in work/preR13 branch.
See example:
[shape.tar.gz](https://github.com/LibreDWG/libredwg/files/8691343/shape.tar.gz)
There are two entities:
* LOAD
* SHAPE
Parse only first entity, because bad number "num" in src/decode.c - https://github.com/LibreDWG/libredwg/blob/0... | Issue with entity parsing in pre2.10 | https://api.github.com/repos/LibreDWG/libredwg/issues/471/comments | 1 | 2022-05-13T21:11:42Z | 2022-12-22T17:49:21Z | https://github.com/LibreDWG/libredwg/issues/471 | 1,235,718,772 | 471 |
[
"LibreDWG",
"libredwg"
] | Hi @rurban,
You are creating nice flags printing (https://github.com/LibreDWG/libredwg/commit/4a52199ea72b9a47ff21abc14f8b2485fdd101cd)
Could we add this kind of logging to all flags? | Printing of flags | https://api.github.com/repos/LibreDWG/libredwg/issues/469/comments | 3 | 2022-05-12T15:20:10Z | 2023-01-03T09:25:57Z | https://github.com/LibreDWG/libredwg/issues/469 | 1,234,145,842 | 469 |
[
"LibreDWG",
"libredwg"
] | @rurban
All dimensions in preR13 are one entity, which has special flag inside which differentiate dimension types.
Structure of dimension is:
```
flag_r11
entity_size
layer_index
opts_r11 (2 bytes, probably better is to use two flags)
... <------- elevation, thickness, handle, paper if flag_r11 flags
block... | Parsing of preR13 dimensions | https://api.github.com/repos/LibreDWG/libredwg/issues/468/comments | 11 | 2022-05-09T22:22:06Z | 2022-12-30T09:49:13Z | https://github.com/LibreDWG/libredwg/issues/468 | 1,230,311,478 | 468 |
[
"LibreDWG",
"libredwg"
] | I try to build LibreDWG for my Ubuntu 20 x86_64 using [instruction](https://wiki.freecadweb.org/FreeCAD_and_DWG_Import):
git clone https://git.savannah.gnu.org/git/libredwg.git
cd libredwg
mkdir build
cd build
cmake ..
make
make install (or use checkinstall, or simply locate & copy the dwg2dxf utility to your ex... | LibreDWG build on Ubuntu 20 | https://api.github.com/repos/LibreDWG/libredwg/issues/467/comments | 6 | 2022-05-09T22:16:29Z | 2022-12-22T05:16:27Z | https://github.com/LibreDWG/libredwg/issues/467 | 1,230,307,587 | 467 |
[
"LibreDWG",
"libredwg"
] | when imported from json:
==222113==ERROR: LeakSanitizer: detected memory leaks
```
Direct leak of 13 byte(s) in 2 object(s) allocated from:
#0 0x7f59a8b10648 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f59a83e203c in json_OBJECTS ../../src/in_json.c:2857
... | preR13 dxfwrite leaks | https://api.github.com/repos/LibreDWG/libredwg/issues/466/comments | 0 | 2022-05-06T12:22:17Z | 2023-01-16T08:38:13Z | https://github.com/LibreDWG/libredwg/issues/466 | 1,227,798,251 | 466 |
[
"LibreDWG",
"libredwg"
] | Hi @rurban
Many thanks for your hard work!
I have some files where I run DWG read and the json produced is invalid, I can only assume DWGRead is throwing an exception and stopping. I'm using the latest windows binaries (0.12.4.4572)
[DWGs.zip](https://github.com/LibreDWG/libredwg/files/8626760/DWGs.zip)
| DWGRead Json Output not completing output | https://api.github.com/repos/LibreDWG/libredwg/issues/463/comments | 1 | 2022-05-04T19:58:58Z | 2022-05-04T20:03:31Z | https://github.com/LibreDWG/libredwg/issues/463 | 1,225,860,595 | 463 |
[
"LibreDWG",
"libredwg"
] | Hi,
I'm following README for installation and was getting stuck while `make` in the EC2 machine. I was able to successfully install it in my local machine though -
```
make all-recursive
make[1]: Entering directory '/home/ubuntu/libredwg'
Making all in src
make[2]: Entering directory '/home/ubuntu/libredwg/... | gcc-7: internal compiler error: | https://api.github.com/repos/LibreDWG/libredwg/issues/456/comments | 9 | 2022-05-02T12:20:47Z | 2022-12-30T09:50:14Z | https://github.com/LibreDWG/libredwg/issues/456 | 1,222,819,849 | 456 |
[
"LibreDWG",
"libredwg"
] | Two variants:
1. json dump the tables, entities and blocks, as in the dwg/dxf.
very simple and understandable, but needs special code for injson.
2. or create interim _CONTROL objects, holding the tables.
best as r2004 arrays, not as r2000 doubly-linked lists.
this would allow the old iteration vi... | pick a preR13 iterator/tables variant | https://api.github.com/repos/LibreDWG/libredwg/issues/453/comments | 1 | 2022-04-27T07:01:24Z | 2022-05-06T13:22:48Z | https://github.com/LibreDWG/libredwg/issues/453 | 1,216,891,010 | 453 |
[
"LibreDWG",
"libredwg"
] | master branch (e.g. https://github.com/LibreDWG/libredwg/commit/59c0694f25bde5294869fc2a1be620f0abb768e4)
```
./configure --disable-bindings --enable-write --enable-trace --disable-dxf --disable-json --disable-python --enable-debug
make
```
Output:
```
...
/usr/bin/ld: ../src/.libs/libredwg.so: undefined refe... | Compilation issue | https://api.github.com/repos/LibreDWG/libredwg/issues/449/comments | 3 | 2022-04-26T16:03:26Z | 2022-04-30T12:52:01Z | https://github.com/LibreDWG/libredwg/issues/449 | 1,216,174,625 | 449 |
[
"LibreDWG",
"libredwg"
] | There are two same blocks for parsing of tables in preR13
src/decode.c
e.g. BLOCK table: https://github.com/LibreDWG/libredwg/blob/master/src/decode.c#L389
```
...
case SECTION_BLOCK:
for (i = 0; i < tbl->number; i++)
{
PREP_TABLE (BLOCK_HEADER);
FIELD_RC (flag, 70);
... | Duplicated parsing of tables in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/447/comments | 3 | 2022-04-26T06:59:18Z | 2022-04-30T11:06:17Z | https://github.com/LibreDWG/libredwg/issues/447 | 1,215,493,124 | 447 |
[
"LibreDWG",
"libredwg"
] | The transformed SVG file by dwg2SVG.exe is not recognized by browser | SVG wrong viewbox | https://api.github.com/repos/LibreDWG/libredwg/issues/446/comments | 8 | 2022-04-25T10:18:30Z | 2023-02-10T07:11:57Z | https://github.com/LibreDWG/libredwg/issues/446 | 1,214,285,730 | 446 |
[
"LibreDWG",
"libredwg"
] | There is issue in block table parsing in preR13
Example:
[BLOCK1.DXF.gz](https://github.com/LibreDWG/libredwg/files/8549851/BLOCK1.DXF.gz)
[BLOCK1.DWG.gz](https://github.com/LibreDWG/libredwg/files/8549852/BLOCK1.DWG.gz)
Actual parsing:
```
...
blocks 0x46c (0xfffffb94) - 0x0 (0x48, 0x80000000)
...
```
a... | Issue with block table parsing in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/444/comments | 7 | 2022-04-24T14:11:24Z | 2023-01-16T08:41:34Z | https://github.com/LibreDWG/libredwg/issues/444 | 1,213,665,890 | 444 |
[
"LibreDWG",
"libredwg"
] | ```
D:\emsdk\libredwg\test\test-data\2018>dwg2dxf taihe.dwg taihe.dxf
Reading DWG file taihe.dwg
Warning: checksum: 0x32761371 (calculated) mismatch
Warning: Invalid section_array_size: [8827].792575 != 8830
Warning: Invalid last_section_address: 18148ce != 1771280
Warning: section_map_id 8830 not found
Warnin... | decode 2018 Section Page Map | https://api.github.com/repos/LibreDWG/libredwg/issues/439/comments | 3 | 2022-04-22T01:36:10Z | 2023-09-20T07:48:16Z | https://github.com/LibreDWG/libredwg/issues/439 | 1,211,714,277 | 439 |
[
"LibreDWG",
"libredwg"
] | This magic AC402b string isn't R1.4 version.
See links:
https://www.cadforum.cz/en/qaID.asp?tip=868
http://devel.gvsig.org/sites/org.gvsig.dwg/2.0-SNAPSHOT/gvsig-base-library-pom/org.gvsig.dwg/xref/org/gvsig/dwg/lib/DwgFile.html | AC402b magic string | https://api.github.com/repos/LibreDWG/libredwg/issues/436/comments | 2 | 2022-04-20T18:54:49Z | 2022-04-22T09:23:01Z | https://github.com/LibreDWG/libredwg/issues/436 | 1,210,087,891 | 436 |
[
"LibreDWG",
"libredwg"
] | We need to fix handling id in entity.
Stub here: https://github.com/LibreDWG/libredwg/commit/2a92ef3dcd151ef65d09a3e00334abcd453846cd
This is length and string without termination as i understang.
Example:
[POINT1.DXF.gz](https://github.com/LibreDWG/libredwg/files/8516065/POINT1.DXF.gz)
[POINT1.DWG.gz](https://g... | Fix of handling if in entity | https://api.github.com/repos/LibreDWG/libredwg/issues/435/comments | 6 | 2022-04-19T19:45:09Z | 2023-01-06T12:26:28Z | https://github.com/LibreDWG/libredwg/issues/435 | 1,208,790,413 | 435 |
[
"LibreDWG",
"libredwg"
] | These structure is 6x 3d point created by vpoint command from probably R_2_10
Example:
vpoint 1,2,3
output structure:
```
-0.8944271909999159, 0.4472135954999579, 0.0
-0.3585685828003181, -0.7171371656006362, 0.5976143046671968
0.2672612419124244, 0.5345224838248488, 0.8017837257372732
-0.8944271909999159, -0... | Identify structure of 3d points in pre13 (0x0252-0x02e0) | https://api.github.com/repos/LibreDWG/libredwg/issues/433/comments | 1 | 2022-04-19T10:15:19Z | 2022-12-30T09:52:06Z | https://github.com/LibreDWG/libredwg/issues/433 | 1,208,133,675 | 433 |
[
"LibreDWG",
"libredwg"
] | Hello,
I would like to use the library already compiled in Windows but when I enter the command dwg2SVG it returns empty svg output
Could you help me please?


[fzw_pu.zip](https://github.com/LibreDWG/libredwg/files/8401627/fzw_pu.zip)
This file will not be garbled after ACAD PU. | Text garbled, wrong M+5xxxx decoding with ANSI_936 | https://api.github.com/repos/LibreDWG/libredwg/issues/428/comments | 3 | 2022-04-02T02:10:51Z | 2023-08-13T11:43:59Z | https://github.com/LibreDWG/libredwg/issues/428 | 1,190,463,785 | 428 |
[
"LibreDWG",
"libredwg"
] | Good way is create script files (*.scr and script command in autocad), which could be used for generation of DWG/DXF files.
I could prepare some DWG files.
But i don't understand testing system for it.
@rurban could you help me with it?
| How to test pre12 DWG files? | https://api.github.com/repos/LibreDWG/libredwg/issues/427/comments | 11 | 2022-04-01T19:37:57Z | 2022-05-05T06:35:39Z | https://github.com/LibreDWG/libredwg/issues/427 | 1,190,200,088 | 427 |
[
"LibreDWG",
"libredwg"
] | 10 | Control points (in WCS); one entry per control pointDXF: X value; APP: 3D point | [Missing] test/2018/spline.dwg Missing control point information | https://api.github.com/repos/LibreDWG/libredwg/issues/426/comments | 1 | 2022-03-29T06:48:35Z | 2023-01-26T09:19:22Z | https://github.com/LibreDWG/libredwg/issues/426 | 1,184,388,659 | 426 |
[
"LibreDWG",
"libredwg"
] | Hey there!
I belong to an open source security research community, and a member (@peacock-doris) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-se... | Potential security issue | https://api.github.com/repos/LibreDWG/libredwg/issues/425/comments | 6 | 2022-03-23T09:29:23Z | 2022-04-14T18:56:46Z | https://github.com/LibreDWG/libredwg/issues/425 | 1,177,847,095 | 425 |
[
"LibreDWG",
"libredwg"
] | Hi, i have a little question - how disable logging info in console? I have reading [that post](https://github.com/LibreDWG/libredwg/issues/25#issuecomment-399935076), but couldn't understood what need did. I work in MS VS's environmental*
 is not available. It appears that an alternative is already provided in src/common.h, but this is never used when building through CMake as cmakeconfig.h.in #defines HAVE_MEMMEM as 1 in all cases.
CMake has a utility which easily resolves this issue:
In C... | CMake build issue: MinGW does not support memmem() | https://api.github.com/repos/LibreDWG/libredwg/issues/422/comments | 2 | 2022-03-02T22:08:56Z | 2022-03-04T08:07:42Z | https://github.com/LibreDWG/libredwg/issues/422 | 1,157,744,002 | 422 |
[
"LibreDWG",
"libredwg"
] | cmakeconfig.h.in defines ENABLE_SHARED as follows:
`#define ENABLE_SHARED @BUILD_SHARED_LIBS@`
And uses it in common.h as follows:
```
#ifndef EXPORT
# if defined(_WIN32) && defined(ENABLE_SHARED)
```
There are two bugs causing this not to work correctly with CMake:
1) The CMake functions which defin... | BUILD_SHARED_LIBS not respected on WIN32 | https://api.github.com/repos/LibreDWG/libredwg/issues/421/comments | 0 | 2022-03-02T21:52:13Z | 2022-03-04T08:07:42Z | https://github.com/LibreDWG/libredwg/issues/421 | 1,157,731,268 | 421 |
[
"LibreDWG",
"libredwg"
] | In cmakeconfig.h.in, it appears that the HAVE_ALLOCA_H and HAVE_LIBGEN_H symbols are hardcoded to 1, regardless of the results of the CHECK_INCLUDE_FILE() calls in CMakeLists.txt. This causes compilation to fail under MinGW which does not provide the alloca.h header.
Changing:
#define HAVE_ALLOCA_H 1
#define HA... | HAVE_ALLOCA_H and HAVE_LIBGEN_H symbols ignore results of cmake configure | https://api.github.com/repos/LibreDWG/libredwg/issues/420/comments | 1 | 2022-03-02T19:16:33Z | 2022-03-04T08:07:41Z | https://github.com/LibreDWG/libredwg/issues/420 | 1,157,590,003 | 420 |
[
"LibreDWG",
"libredwg"
] | - Error messages:
```console
[ 26%] Building C object CMakeFiles/redwg.dir/src/print.c.o
/usr/local/bin/cc -Dredwg_EXPORTS -I....../libredwg/build/src -I....../libredwg/src -I....../libredwg/include -DLTO -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/redwg.dir/src/in_dxf.c.o -MF CMakeFiles/redwg.dir/src/in_dxf.c.o.d -o CM... | error: ‘str’ undeclared (first use in this function) | https://api.github.com/repos/LibreDWG/libredwg/issues/418/comments | 1 | 2022-02-26T10:00:20Z | 2022-04-14T18:57:06Z | https://github.com/LibreDWG/libredwg/issues/418 | 1,151,586,963 | 418 |
[
"LibreDWG",
"libredwg"
] | We have `unknown_12: 1 [RS 8]` actually and this is TEXTSTYLE index.
See AC2.10 examples:
* [BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/8088649/BLANK.DWG.gz) `unknown_12: 0 [RS 8]` (default textstyle index)
* [TS1.DWG.gz](https://github.com/LibreDWG/libredwg/files/8096654/TS1.DWG.gz) `unknown_12: 1 [RS... | TEXTSTYLE in AC1.50 .. AC1009 | https://api.github.com/repos/LibreDWG/libredwg/issues/414/comments | 2 | 2022-02-18T11:21:49Z | 2022-04-15T06:42:47Z | https://github.com/LibreDWG/libredwg/issues/414 | 1,142,875,790 | 414 |
[
"LibreDWG",
"libredwg"
] | Example: [BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/8088649/BLANK.DWG.gz)
Actual dump:
```
entities 0x2e5 - 0x2e5
blocks 0x447 (0x0) - 0x0 (0x80000000)
ptr table BLOCK [ 1]: size:37 nr:-2146500608 (0x2e5-0x822b02e5)
ptr table LAYER [ 2]: size:37 nr:-2146500607 (0x2e5-0x822b030a)
ptr ... | Issue with section item number | https://api.github.com/repos/LibreDWG/libredwg/issues/413/comments | 2 | 2022-02-17T14:08:16Z | 2022-04-16T05:16:34Z | https://github.com/LibreDWG/libredwg/issues/413 | 1,141,386,071 | 413 |
[
"LibreDWG",
"libredwg"
] | in src/header.spec is section:
```
for (i = 0; i < 3; i++) { // 3, 5, 205
FIELD_RS (unknown_s[i], 0);
}
```
Valid from AC1.50 to AC1009
I believe that this three values are numbers of ?, sections and header variables (idea, but i counted and seems that is).
On this values depends header variable... | unknown_s[] fields in header | https://api.github.com/repos/LibreDWG/libredwg/issues/412/comments | 10 | 2022-02-17T13:08:27Z | 2022-04-14T20:54:23Z | https://github.com/LibreDWG/libredwg/issues/412 | 1,141,316,441 | 412 |
[
"LibreDWG",
"libredwg"
] | This error is bad, because exists valid DWG files which are ok.
Example file saved by me from AutoCAD 2.17 (AC2.10)
[BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/8088649/BLANK.DWG.gz)
| Error "DWG too small" is bad | https://api.github.com/repos/LibreDWG/libredwg/issues/411/comments | 2 | 2022-02-17T12:38:33Z | 2022-04-14T20:04:19Z | https://github.com/LibreDWG/libredwg/issues/411 | 1,141,285,848 | 411 |
[
"LibreDWG",
"libredwg"
] | OSMODE variable exists, but it's on bad place.
Values:
0: none
1: endpoint
2: midpoint
4: center
8: node
16: quadrant
32: intersection
64: insertion
128: perpendicular
256: tangent
512: nearest | Issue with AC2.10-AC1009 OSMODE header variable place | https://api.github.com/repos/LibreDWG/libredwg/issues/409/comments | 1 | 2022-02-17T10:11:23Z | 2022-02-17T18:29:27Z | https://github.com/LibreDWG/libredwg/issues/409 | 1,141,132,383 | 409 |
[
"LibreDWG",
"libredwg"
] | This variable is valid only for AC1006 and AC1009.
For versions between AC1.50 and AC1004 is this value number of entities in drawing. | PLINEGEN variable in pre13 DWG versions | https://api.github.com/repos/LibreDWG/libredwg/issues/408/comments | 1 | 2022-02-14T23:43:23Z | 2022-02-17T18:29:42Z | https://github.com/LibreDWG/libredwg/issues/408 | 1,137,981,542 | 408 |
[
"LibreDWG",
"libredwg"
] | It is uncommon for packages to directly put files into /usr/share; rather, they would place them in a subdirectory, e.g. /usr/share/libredwg.
```
examples/Makefile.in:dist_data_DATA = dwgadd.example load_dwg.py
examples/Makefile.am:dist_data_DATA = dwgadd.example load_dwg.py
```
These two lines probably should... | Placement of load_dwg.py | https://api.github.com/repos/LibreDWG/libredwg/issues/406/comments | 2 | 2022-02-14T00:15:58Z | 2022-04-23T20:49:18Z | https://github.com/LibreDWG/libredwg/issues/406 | 1,136,559,896 | 406 |
[
"LibreDWG",
"libredwg"
] | Version 0.12.5 release tarball fails to compile for me on Gentoo Linux:
```
make[2]: *** No rule to make target 'dwg2ps.1', needed by 'all-am'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/media-gfx/libredwg-0.12.5/work/libredwg-0.12.5/programs'
make[1]: *** [M... | 0.12.5: No rule to make target 'dwg2ps.1', needed by 'all-am'. Stop. | https://api.github.com/repos/LibreDWG/libredwg/issues/404/comments | 8 | 2022-02-10T10:50:36Z | 2022-04-23T20:49:42Z | https://github.com/LibreDWG/libredwg/issues/404 | 1,129,825,850 | 404 |
[
"LibreDWG",
"libredwg"
] | Hi @rurban
after installing how do i configure this package for python on windows?
i built the package ...but how can i use it as python package ..how to import libredwg as said in examples..
```
"C:\Python310\DLLs\LibreDWG.py", line 15, in <module>
import _LibreDWG
ModuleNotFoundError: No module named '_... | Python interface | https://api.github.com/repos/LibreDWG/libredwg/issues/403/comments | 1 | 2022-02-09T17:59:12Z | 2023-02-10T07:08:59Z | https://github.com/LibreDWG/libredwg/issues/403 | 1,128,858,025 | 403 |
[
"LibreDWG",
"libredwg"
] | I am just trying to run an executable file on windows 10. Can anyone tell me how to run the exe files in libredwg-0.12.4.4367-win64.zip. Do I need to install some other software to run the exe or download the source code too? | Running precompiled version 0.12.4.4367 | https://api.github.com/repos/LibreDWG/libredwg/issues/398/comments | 4 | 2022-01-21T04:18:22Z | 2022-01-22T07:25:35Z | https://github.com/LibreDWG/libredwg/issues/398 | 1,110,038,051 | 398 |
[
"LibreDWG",
"libredwg"
] | ```
% ./dwgread --format json ~/Downloads/architectural_-_annotation_scaling_and_multileaders.dwg | python -m json.tool
SUCCESS
Expecting , delimiter: line 66654 column 7 (char 1686274)
```
This file can be downloaded here: https://knowledge.autodesk.com/support/autocad-lt/downloads/caas/downloads/content/aut... | Invalid json being generated | https://api.github.com/repos/LibreDWG/libredwg/issues/397/comments | 1 | 2021-11-24T05:12:56Z | 2022-02-04T19:11:29Z | https://github.com/LibreDWG/libredwg/issues/397 | 1,062,011,213 | 397 |
[
"LibreDWG",
"libredwg"
] | I'm seeing a couple of the above messages when compiling on a Mac. Does it matter?
./dwg.spec:7449:9: warning: format specifies type 'unsigned short' but the argument has type 'BITCODE_BL' (aka 'unsigned int') [-Wformat]
| ./dwg.spec:1557:17: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] | https://api.github.com/repos/LibreDWG/libredwg/issues/396/comments | 4 | 2021-11-23T18:45:31Z | 2022-02-04T22:05:18Z | https://github.com/LibreDWG/libredwg/issues/396 | 1,061,604,234 | 396 |
[
"LibreDWG",
"libredwg"
] | I'm getting the following, in response to "make test"
```
make[3]: Leaving directory '/libredwg/bindings/python'
make[3]: Entering directory '/libredwg/bindings'
Making all for perl
Making check for perl
if grep "NOOP = rem" perl/Makefile; then false; else \
LD_LIBRARY_PATH="/libredwg/src/.libs" make -C pe... | Make test failing: "undefined symbol: dwg_setup_ENDBLK" | https://api.github.com/repos/LibreDWG/libredwg/issues/395/comments | 2 | 2021-10-08T19:25:49Z | 2023-01-06T13:22:35Z | https://github.com/LibreDWG/libredwg/issues/395 | 1,021,401,062 | 395 |
[
"LibreDWG",
"libredwg"
] | Hi, I have attached three files. one original DWG file and two dxf files one converted using libreDWG and other using online converter. The online converted file is having all information where as where as dxf file converted using libredwg is not having all information, some information are missing. Can you please fix ... | dwg2dxf conversion is not converting all informations. | https://api.github.com/repos/LibreDWG/libredwg/issues/394/comments | 7 | 2021-09-08T10:04:20Z | 2023-08-03T15:12:53Z | https://github.com/LibreDWG/libredwg/issues/394 | 990,962,476 | 394 |
[
"LibreDWG",
"libredwg"
] | Got an "TypeError: in method 'dwg_read_file', argument 1 of type 'char const *'" error while reading dwg that filename contains wide chars. | Python lib doesn't work with wide chars filename | https://api.github.com/repos/LibreDWG/libredwg/issues/393/comments | 0 | 2021-09-01T05:02:58Z | 2021-09-01T17:43:06Z | https://github.com/LibreDWG/libredwg/issues/393 | 984,622,048 | 393 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the lastest version https://github.com/LibreDWG/libredwg/tree/0.12.4.4348
## What's the problem?
A heap-buffer-overflow was discovered in function copy_compressed_bytes in decode_r2007.c
ASAN report:
```
=================================================================
==4121331==ERROR: A... | A heap-buffer-overflow in function copy_compressed_bytes in decode_r2007.c | https://api.github.com/repos/LibreDWG/libredwg/issues/392/comments | 0 | 2021-08-30T07:38:44Z | 2022-02-04T22:10:31Z | https://github.com/LibreDWG/libredwg/issues/392 | 982,488,466 | 392 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the lastest version https://github.com/LibreDWG/libredwg/tree/0.12.4.4348
## What's the problem?
A heap-buffer-overflow was discovered in function copy_bytes in decode_r2007.c
ASAN report:
```
=================================================================
==4110248==ERROR: AddressSan... | A heap-buffer-overflow in function copy_bytes in decode_r2007.c | https://api.github.com/repos/LibreDWG/libredwg/issues/391/comments | 0 | 2021-08-30T07:31:07Z | 2022-02-04T22:10:48Z | https://github.com/LibreDWG/libredwg/issues/391 | 982,483,372 | 391 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the lastest version https://github.com/LibreDWG/libredwg/tree/0.12.4.4348
## What's the problem?
A null pointer deference was discovered in function output_SVG in dwg2SVG.c
ASAN report:
```
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:svg="http://www.w3.org/2000/s... | null pointer deference in function output_SVG in dwg2SVG.c | https://api.github.com/repos/LibreDWG/libredwg/issues/390/comments | 1 | 2021-08-30T07:17:52Z | 2022-02-05T10:52:09Z | https://github.com/LibreDWG/libredwg/issues/390 | 982,474,309 | 390 |
[
"LibreDWG",
"libredwg"
] | How to explode the block reference by using the libredwg ?Just like the AutoCAD's command "explode", and get all of the entities in the block reference. | How to explode the Block Reference ? | https://api.github.com/repos/LibreDWG/libredwg/issues/389/comments | 1 | 2021-07-22T01:32:20Z | 2023-01-25T20:57:30Z | https://github.com/LibreDWG/libredwg/issues/389 | 950,227,449 | 389 |
[
"LibreDWG",
"libredwg"
] | dwgadd is unusable:
* Need of "\n" at begin of first string, sic.
* issue with initial = 1 at begin and setting to intial after initialization
* No error message to stderr in each exit(1)
* Missing error in stderr in dwg_add_dat (&dwgp, &dat) != 0 | Broken dwgadd | https://api.github.com/repos/LibreDWG/libredwg/issues/388/comments | 6 | 2021-07-06T23:45:22Z | 2023-02-02T11:56:29Z | https://github.com/LibreDWG/libredwg/issues/388 | 938,343,080 | 388 |
[
"LibreDWG",
"libredwg"
] | Hi
I have problems decoding these files.
[err.zip](https://github.com/LibreDWG/libredwg/files/6676817/err.zip)
Looks like handle ids and offsets get wrong values. I think MC and UMC can be 8 bytes here.
Please verify.
Thanks
Artur | Errors decoding handles, wrong MC, UMC decoding | https://api.github.com/repos/LibreDWG/libredwg/issues/386/comments | 2 | 2021-06-18T11:53:06Z | 2023-04-22T09:26:28Z | https://github.com/LibreDWG/libredwg/issues/386 | 924,831,107 | 386 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in add_AcDbSectionViewStyle in in_dxf.c.
ASAN report:
```
==2476645==ERROR: AddressSanitizer: heap-buffer-o... | Heap-buffer-overflow in add_AcDbSectionViewStyle in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/385/comments | 0 | 2021-06-15T04:33:19Z | 2021-06-24T15:51:27Z | https://github.com/LibreDWG/libredwg/issues/385 | 920,975,128 | 385 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dwg_convert_SAB_to_SAT1 in out_dxf.c:2230.
ASAN report:
```
==3850==ERROR: AddressSanitizer: heap-buffer... | Heap-buffer-overflow in dwg_convert_SAB_to_SAT1 in out_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/384/comments | 0 | 2021-06-15T03:37:45Z | 2021-06-24T15:50:15Z | https://github.com/LibreDWG/libredwg/issues/384 | 920,952,622 | 384 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A double free was discovered in dwg_free_LAYER_private in dwg.spec.
ASAN report:
```
==3639890==ERROR: AddressSanitizer: attempting double-free o... | Double free in function dwg_free_LAYER_private dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/383/comments | 0 | 2021-06-15T03:27:18Z | 2022-02-05T12:48:29Z | https://github.com/LibreDWG/libredwg/issues/383 | 920,948,788 | 383 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dxf_read_CMC in in_dxf.c.
ASAN report:
```
==2468712==ERROR: AddressSanitizer: heap-buffer-overflow on a... | Heap-buffer-overflow in dxf_read_CMC in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/382/comments | 1 | 2021-06-15T03:22:21Z | 2021-06-24T15:54:04Z | https://github.com/LibreDWG/libredwg/issues/382 | 920,946,922 | 382 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in add_MULTILEADER in in_dxf.c:4306.
ASAN report:
```
==2370992==ERROR: AddressSanitizer: heap-buffer-overf... | Heap-buffer-overflow in add_MULTILEADER in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/381/comments | 0 | 2021-06-15T03:18:18Z | 2021-06-27T06:36:33Z | https://github.com/LibreDWG/libredwg/issues/381 | 920,945,308 | 381 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function add_HATCH in in_dxf.c.
ASAN report:
```
==733422==ERROR: AddressSanitizer: SEGV on unknown addr... | NULL pointer dereference in function add_HATCH in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/380/comments | 0 | 2021-06-15T03:15:00Z | 2021-06-27T06:36:33Z | https://github.com/LibreDWG/libredwg/issues/380 | 920,944,138 | 380 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function add_CellStyle in in_dxf.c.
ASAN report:
```
==954974==ERROR: AddressSanitizer: SEGV on unknown ... | NULL pointer dereference in function add_CellStyle in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/379/comments | 0 | 2021-06-15T03:11:52Z | 2021-06-27T06:36:32Z | https://github.com/LibreDWG/libredwg/issues/379 | 920,943,015 | 379 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
Segmentation fault in dwg_free_MULTILEADER_private in dwg.spec because of reading unknown address.
ASAN report:
```
==805397==ERROR: AddressSaniti... | READ unknown address in dwg_free_MULTILEADER_private in dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/378/comments | 0 | 2021-06-15T03:00:59Z | 2021-06-27T06:36:32Z | https://github.com/LibreDWG/libredwg/issues/378 | 920,938,245 | 378 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function add_PERSUBENTMGR in in_dxf.c.
ASAN report:
```
==522252==ERROR: AddressSanitizer: SEGV on unkno... | Null pointer dereference in function add_PERSUBENTMGR in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/376/comments | 0 | 2021-06-11T03:40:45Z | 2021-06-27T06:36:32Z | https://github.com/LibreDWG/libredwg/issues/376 | 918,178,282 | 376 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
Segmentation fault in dwg_dxf_SHAPE_private in dwg.spec because of reading unknown address.
ASAN report:
```
==19598==ERROR: AddressSanitizer: SE... | READ unknown address in dwg_dxf_SHAPE_private in dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/375/comments | 1 | 2021-06-11T03:23:28Z | 2021-06-26T09:34:27Z | https://github.com/LibreDWG/libredwg/issues/375 | 918,169,283 | 375 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in bit_convert_TU in bits.c.
ASAN report:
```
==20028==ERROR: AddressSanitizer: heap-buffer-overflow on add... | Heap-buffer-overflow in bit_convert_TU in bits.c | https://api.github.com/repos/LibreDWG/libredwg/issues/374/comments | 1 | 2021-06-11T03:12:22Z | 2021-06-26T09:30:17Z | https://github.com/LibreDWG/libredwg/issues/374 | 918,163,264 | 374 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dwg_dxf_SHAPE_private in dwg.spec.
ASAN report:
```
==2711==ERROR: AddressSanitizer: heap-buffer-overflo... | Heap-buffer-overflow in dwg_dxf_SHAPE_private in dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/373/comments | 1 | 2021-06-11T03:03:18Z | 2022-02-05T13:19:35Z | https://github.com/LibreDWG/libredwg/issues/373 | 918,158,456 | 373 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dwg_dxf_LWPOLYLINE_private in dwg.spec.
ASAN report:
```
==25881==ERROR: AddressSanitizer: heap-buffer-o... | Heap-buffer-overflow in dwg_dxf_LWPOLYLINE_private in dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/372/comments | 0 | 2021-06-11T03:01:31Z | 2021-06-27T06:36:31Z | https://github.com/LibreDWG/libredwg/issues/372 | 918,157,504 | 372 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function bit_eq_T in bits.c.
ASAN report:
```
==3404==ERROR: AddressSanitizer: SEGV on unknown address... | Null pointer dereference in function bit_eq_T in bits.c | https://api.github.com/repos/LibreDWG/libredwg/issues/371/comments | 0 | 2021-06-11T02:59:33Z | 2022-02-05T13:21:00Z | https://github.com/LibreDWG/libredwg/issues/371 | 918,156,392 | 371 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in add_ASSOCACTION in in_dxf.c.
ASAN report:
```
==24181==ERROR: AddressSanitizer: heap-buffer-overflow on... | Heap-buffer-overflow in add_ASSOCACTION in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/370/comments | 2 | 2021-06-10T09:40:56Z | 2022-02-05T13:22:48Z | https://github.com/LibreDWG/libredwg/issues/370 | 917,137,417 | 370 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function dwg_handle_name in dwg.c.
ASAN report:
```
==15787==ERROR: AddressSanitizer: SEGV on unknown ... | Null pointer dereference in function dwg_handle_name in dwg.c | https://api.github.com/repos/LibreDWG/libredwg/issues/369/comments | 2 | 2021-06-10T09:11:12Z | 2022-02-05T13:26:04Z | https://github.com/LibreDWG/libredwg/issues/369 | 917,107,466 | 369 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in bit_write_TF in bits.c.
ASAN report:
```
==25604==ERROR: AddressSanitizer: heap-buffer-overflow on addre... | Heap-buffer-overflow in bit_write_TF in bits.c call by dwg_convert_SAB_to_SAT1 | https://api.github.com/repos/LibreDWG/libredwg/issues/368/comments | 1 | 2021-06-10T09:08:12Z | 2022-02-05T13:26:52Z | https://github.com/LibreDWG/libredwg/issues/368 | 917,104,499 | 368 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in function dxf_read_CMC in in_dxf.c.
ASAN report:
```
==2463508==ERROR: AddressSanitizer: SEGV on unknown ... | Null pointer dereference in function dxf_read_CMC in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/367/comments | 2 | 2021-06-10T08:37:16Z | 2022-02-05T13:27:41Z | https://github.com/LibreDWG/libredwg/issues/367 | 917,072,413 | 367 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dxf_tables_read in in_dxf.c:11968.
ASAN report:
```
==2899325==ERROR: AddressSanitizer: heap-buffer-ove... | Heap-buffer-overflow in dxf_tables_read in in_dxf.c | https://api.github.com/repos/LibreDWG/libredwg/issues/366/comments | 1 | 2021-06-10T08:31:08Z | 2022-02-05T13:32:50Z | https://github.com/LibreDWG/libredwg/issues/366 | 917,066,500 | 366 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A stack buffer overflow was discovered in dwg_dynapi_entity_value in gen-dynapi.pl.
ASAN report:
```
==2500853==ERROR: AddressSanitizer: stack-bu... | Stack-buffer-overflow in dwg_dynapi_entity_value in gen-dynapi.pl | https://api.github.com/repos/LibreDWG/libredwg/issues/365/comments | 1 | 2021-06-10T08:25:24Z | 2022-02-05T13:34:05Z | https://github.com/LibreDWG/libredwg/issues/365 | 917,060,945 | 365 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
Segmentation fault in dwg_encode_add_object in encode.c:3877 because of reading unknown address.
ASAN report:
```
$ ./dwgrewrite ./pocs/tests_64229... | READ unknown address in dwg_encode_add_object in encode.c:3877 | https://api.github.com/repos/LibreDWG/libredwg/issues/364/comments | 3 | 2021-06-09T08:27:30Z | 2023-06-27T10:20:47Z | https://github.com/LibreDWG/libredwg/issues/364 | 915,935,218 | 364 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap use after free was discovered in bit_copy_chain in src/bits.c:3318.
ASAN report:
```
$ ./dwgrewrite ./pocs/tests_64233
......
......
..... | Heap use after free in bit_copy_chain in src/bits.c:3318 | https://api.github.com/repos/LibreDWG/libredwg/issues/361/comments | 1 | 2021-06-09T08:09:06Z | 2023-07-17T10:47:58Z | https://github.com/LibreDWG/libredwg/issues/361 | 915,918,922 | 361 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
Segmentation fault in bit_write_RC in bits.c:351 because of writing unknown address.
ASAN report:
```
$ ./dwgrewrite ./pocs/tests_64234
......
... | A Segmentation fault in bit_write_RC in bits.c:351 | https://api.github.com/repos/LibreDWG/libredwg/issues/360/comments | 1 | 2021-06-09T08:01:17Z | 2022-12-15T15:42:18Z | https://github.com/LibreDWG/libredwg/issues/360 | 915,912,147 | 360 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 45d2a29)
There is heapbuffer-overflow in function dwg_encode_STYLE_private() in dwg.spec
**reproduce**
./configure --enable-release
CFLAGS="-fsanitize=address" ./configure --enable-release
make
./dwgrewrite [poc]
[heap-buffer-overflow_dwg_encode_ST... | heap-buffer-overflow in dwg_encode_STYLE_private() in dwg.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/359/comments | 1 | 2021-06-09T07:55:23Z | 2022-02-06T17:26:33Z | https://github.com/LibreDWG/libredwg/issues/359 | 915,907,191 | 359 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 45d2a29)
There is heap buffer-overflow in function bit_downconvert_CMC() in bits.c
**reproduce**
./configure --enable-release
CFLAGS="-fsanitize=address" ./configure --enable-release
make
./dwgrewrite [poc]
[heap-buffer-overflow-bit_downconvert_C... | heap-buffer-overflow in bit_downconvert_CMC in bits.c | https://api.github.com/repos/LibreDWG/libredwg/issues/358/comments | 1 | 2021-06-09T07:52:13Z | 2022-02-06T17:40:53Z | https://github.com/LibreDWG/libredwg/issues/358 | 915,904,559 | 358 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A null pointer deference was discovered in remove_NOD_item in src/encode.c:1361.
ASAN report:
```
$ ./dwgrewrite ./pocs/tests_64230
......
...... | Null pointer dereference in function remove_NOD_item in encode.c:1361 | https://api.github.com/repos/LibreDWG/libredwg/issues/357/comments | 2 | 2021-06-09T07:49:00Z | 2022-12-15T15:38:10Z | https://github.com/LibreDWG/libredwg/issues/357 | 915,901,920 | 357 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap use after free was discovered in dwg_encode_add_object in src/encode.c:3877.
ASAN report:
```
$ ./dwgrewrite ./pocs/tests_64231
==25674==... | Heap use after free in dwg_encode_add_object in src/encode.c:3877 | https://api.github.com/repos/LibreDWG/libredwg/issues/356/comments | 2 | 2021-06-09T07:41:18Z | 2023-06-27T10:21:29Z | https://github.com/LibreDWG/libredwg/issues/356 | 915,895,718 | 356 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 45d2a290)
There is heap use after free in function bit_read_RC() in bits.c
**reproduce**
```
./configure --enable-release
CFLAGS="-fsanitize=address" ./configure --enable-release
make
./dwgrewrite [poc]
```
[uaf_read_RC.zip](https://github.co... | use after free in bit_read_RC in bits.c | https://api.github.com/repos/LibreDWG/libredwg/issues/355/comments | 1 | 2021-06-08T13:26:33Z | 2022-02-06T18:12:50Z | https://github.com/LibreDWG/libredwg/issues/355 | 915,051,695 | 355 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
the latest commit: https://github.com/LibreDWG/libredwg/tree/45d2a290c65ed691be0901ba2b2ef51044e07a16 and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in get_bmp in programs/dwgbmp.c:182.
ASAN report:
```
$ ./dwgbmp ./pocs/tests_64219 /dev/null
===========... | Heap-buffer-overflow in get_bmp in programs/dwgbmp.c:182 | https://api.github.com/repos/LibreDWG/libredwg/issues/354/comments | 2 | 2021-06-08T08:49:06Z | 2022-02-06T18:55:00Z | https://github.com/LibreDWG/libredwg/issues/354 | 914,610,848 | 354 |
[
"LibreDWG",
"libredwg"
] | Compile times are getting insane with 16GB RAM. Split out several shared libs of either modules, or object families (as Teigha does). With modules encode/decode split compile-time will still require >10min, only with the dwg.spec splitup it will become managable. so split out dynblocks and maybe acsh solids, surfaces
... | Shorter compile times | https://api.github.com/repos/LibreDWG/libredwg/issues/353/comments | 1 | 2021-06-08T06:48:46Z | 2023-07-12T21:20:18Z | https://github.com/LibreDWG/libredwg/issues/353 | 914,434,539 | 353 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
[the latest commit](https://github.com/LibreDWG/libredwg/commit/4c210bbae04957b7d4aba55aee8dca42337f8d47) and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in dwg_section_wtype in dwg.c:1663.
ASAN report:
```
./dwgread ./tests_64206
=========================... | stack-buffer-overflow in dwg_section_wtype in dwg.c:1663 | https://api.github.com/repos/LibreDWG/libredwg/issues/352/comments | 1 | 2021-06-07T07:54:20Z | 2021-06-07T07:57:07Z | https://github.com/LibreDWG/libredwg/issues/352 | 913,241,734 | 352 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
[the latest commit](https://github.com/LibreDWG/libredwg/commit/4c210bbae04957b7d4aba55aee8dca42337f8d47) and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in copy_compressed_bytes in decode_r2007.c:332.
ASAN report:
```
./dwgread ./tests_64205
ERROR: Sectio... | Heap-buffer-overflow in copy_compressed_bytes in decode_r2007.c:332 | https://api.github.com/repos/LibreDWG/libredwg/issues/351/comments | 1 | 2021-06-07T07:50:57Z | 2021-06-07T19:17:53Z | https://github.com/LibreDWG/libredwg/issues/351 | 913,238,141 | 351 |
[
"LibreDWG",
"libredwg"
] | ## Affected version
[the latest commit](https://github.com/LibreDWG/libredwg/commit/4c210bbae04957b7d4aba55aee8dca42337f8d47) and 0.12.4
## What's the problem?
A heap buffer overflow was discovered in copy_bytes in decode_r2007.c:228.
ASAN report:
```
./dwgread ./tests_64199
========================... | Heap-buffer-overflow in copy_bytes in decode_r2007.c:228 | https://api.github.com/repos/LibreDWG/libredwg/issues/350/comments | 1 | 2021-06-07T07:46:30Z | 2021-06-07T18:57:04Z | https://github.com/LibreDWG/libredwg/issues/350 | 913,233,568 | 350 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 4c210bb)
There is stack-buffer-overflow in function dwg_section_wtype in dwg.c
Size of array `name` is 24 ,but in the while loop at line 1661 , `name` will overflow if `i` is big enough
```c
//dwg.c
1654 char name[24];
...
1661 while ((c ... | stack-buffer-overflow in function dwg_section_wtype in dwg.c. | https://api.github.com/repos/LibreDWG/libredwg/issues/349/comments | 2 | 2021-06-05T19:13:00Z | 2021-06-07T18:56:22Z | https://github.com/LibreDWG/libredwg/issues/349 | 912,402,258 | 349 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 4c210bb)
There is overflow in function read_data_section in decode_r2007.c
This bug is caused by the following dangerous memcpy calling
```c
// decode_r2007.c
821 else
822 {
823 memcpy (&decomp[section_page->offset], &dat->cha... | heap-overflow in function read_data_section in decode_r2007.c | https://api.github.com/repos/LibreDWG/libredwg/issues/348/comments | 3 | 2021-06-05T18:36:48Z | 2022-02-06T18:39:57Z | https://github.com/LibreDWG/libredwg/issues/348 | 912,387,404 | 348 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4, (also in the latest commit 4c210bb)
There is null pointer deference in function read_data_section in decode_r2007.c
Here need check the validity of `section->pages` before useing.
```c
────── source:decode_r2007.c+790 ────
785 sec_dat->version = dat->version;
786 ... | null pointer deference in function read_data_section in decode_r2007.c | https://api.github.com/repos/LibreDWG/libredwg/issues/347/comments | 1 | 2021-06-05T18:26:05Z | 2021-06-07T19:00:33Z | https://github.com/LibreDWG/libredwg/issues/347 | 912,383,083 | 347 |
[
"LibreDWG",
"libredwg"
] | With font_file: arial.ttf (EED name "Arial", flag 34). | Broken Text Style write on win64 only | https://api.github.com/repos/LibreDWG/libredwg/issues/346/comments | 144 | 2021-06-03T16:46:20Z | 2024-07-05T13:42:17Z | https://github.com/LibreDWG/libredwg/issues/346 | 910,678,516 | 346 |
[
"LibreDWG",
"libredwg"
] | Hi,
In release version 0.12.4,(also in the latest commit 4c210bba) , dwg2SVG 0.12.4.4317
There is an infinite loop in functopn output_BLOCK_HEADER() in dwg2SVG.c
Occur in the while loop at line 804
```c
//dwg2SVG.c
802 while (obj)
803 {
804 num += output_object (obj);
805 obj = get_next_... | Infinite loop in functopn output_BLOCK_HEADER() in dwg2SVG.c | https://api.github.com/repos/LibreDWG/libredwg/issues/345/comments | 1 | 2021-06-02T07:08:02Z | 2022-11-23T09:15:22Z | https://github.com/LibreDWG/libredwg/issues/345 | 909,190,632 | 345 |
[
"LibreDWG",
"libredwg"
] | Hello,
Running `make check` fails for me on a Gentoo Linux system with version 0.12.4.
```
PASS: alive.test
Reading DWG file ../test/test-data/2000/PolyLine2D.dwg
Writing DXF file ../PolyLine2D_2000.dxf
Reading DWG file ../test/test-data/example_r14.dwg
Writing DXF file ../example_r14.dxf
Reading DWG file .... | dxf.test fails, roundtrip fail: expect 259, got 262 entities | https://api.github.com/repos/LibreDWG/libredwg/issues/342/comments | 4 | 2021-05-24T08:27:28Z | 2024-02-26T15:18:59Z | https://github.com/LibreDWG/libredwg/issues/342 | 899,435,592 | 342 |
[
"LibreDWG",
"libredwg"
] | 
I tried to add color in geojson but sometimes it did not work. Especially when obj->tio.entity->color.index == 256. | how can i get the color &weigth for entitys in geojson | https://api.github.com/repos/LibreDWG/libredwg/issues/341/comments | 1 | 2021-05-14T08:18:05Z | 2021-05-19T01:55:30Z | https://github.com/LibreDWG/libredwg/issues/341 | 891,720,732 | 341 |
[
"LibreDWG",
"libredwg"
] | Failed to convert DWG to any format (JSON, dxf, SVG).
this started happing after updating to the new release.
`Warning: checksum: 0x273e1245 (calculated) mismatch
ERROR: Skip section AcDb:AppInfoHistory with max decompression size 0x980 > 0x580
ERROR: Skip section AcDb:SummaryInfo with max decompression size 0... | ERROR: Failed to decode file: xyz.DWG 0xf7 | https://api.github.com/repos/LibreDWG/libredwg/issues/338/comments | 1 | 2021-05-08T18:53:25Z | 2021-05-14T06:10:20Z | https://github.com/LibreDWG/libredwg/issues/338 | 881,175,905 | 338 |
[
"LibreDWG",
"libredwg"
] | Hello!
I've found that `dwgfilter` is no longer in the program list and figured that `dwggrep` should be a replacement for it, then.
How would one query all geometry types in a dwg file e.g. Polyline, Polygon, MText, etc.?
If there's a better tool to help me achieve this, please advise.
So far I've been succe... | Using dwggrep to find all distinct geometry types (or subclasses) in dwg | https://api.github.com/repos/LibreDWG/libredwg/issues/337/comments | 5 | 2021-04-21T06:29:07Z | 2021-05-14T06:11:07Z | https://github.com/LibreDWG/libredwg/issues/337 | 863,495,237 | 337 |
[
"LibreDWG",
"libredwg"
] | Hello! | Using dwggrep to find all distinct geometry types (or subclasses) in dwg | https://api.github.com/repos/LibreDWG/libredwg/issues/336/comments | 0 | 2021-04-21T06:26:55Z | 2021-04-21T06:31:48Z | https://github.com/LibreDWG/libredwg/issues/336 | 863,493,907 | 336 |
[
"LibreDWG",
"libredwg"
] | I get the UCS_Control from the dwg_data and dont know what to do next.
I'm really looking forward to some help. | I'm new to the project, could you please tell me how to read the UserCoordinateSystem of a dwg? | https://api.github.com/repos/LibreDWG/libredwg/issues/335/comments | 3 | 2021-04-16T17:12:29Z | 2021-04-17T15:05:56Z | https://github.com/LibreDWG/libredwg/issues/335 | 860,008,697 | 335 |
[
"LibreDWG",
"libredwg"
] | I see this error when building libredwg for conda-forge packages (osx):
```
2021-04-13T20:20:06.5966890Z ld: -stack_size option can only be used when linking a main executable
2021-04-13T20:20:06.5968550Z clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
``` | 12.4: conda: osx: linker error | https://api.github.com/repos/LibreDWG/libredwg/issues/334/comments | 2 | 2021-04-13T20:32:52Z | 2021-04-14T11:28:48Z | https://github.com/LibreDWG/libredwg/issues/334 | 857,300,021 | 334 |
[
"LibreDWG",
"libredwg"
] | I got a error When I am using cmake:
CMake Error at CMakeLists.txt:226 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"redwg". | CMake Erro | https://api.github.com/repos/LibreDWG/libredwg/issues/333/comments | 3 | 2021-04-09T05:27:12Z | 2022-11-14T09:19:25Z | https://github.com/LibreDWG/libredwg/issues/333 | 854,173,932 | 333 |
[
"LibreDWG",
"libredwg"
] | All is in the title : is there any time expectation for this feature ?
Best Regards | Any expectation for dwgwrite from GeoJSON | https://api.github.com/repos/LibreDWG/libredwg/issues/332/comments | 9 | 2021-04-08T13:27:43Z | 2023-12-27T13:39:30Z | https://github.com/LibreDWG/libredwg/issues/332 | 853,473,921 | 332 |
[
"LibreDWG",
"libredwg"
] | I exported DWG to SVG and found that it lost the original color
| The exported SVG lost its original color | https://api.github.com/repos/LibreDWG/libredwg/issues/331/comments | 3 | 2021-04-08T03:43:59Z | 2021-04-14T10:04:08Z | https://github.com/LibreDWG/libredwg/issues/331 | 853,028,226 | 331 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.