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"
] | In the LTYPE section, num_dashes is not written, although it should be according to the code.
```
FIELD_TFv (description, 48, 3);
FIELD_RC (alignment, 72);
FIELD_RCu (num_dashes, 73);
FIELD_RD (pattern_len, 40);
FIELD_VECTOR (dashes_r11, RD, ... | No num_dashes writes to JSON in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/690/comments | 1 | 2023-04-06T12:56:33Z | 2023-04-06T13:46:41Z | https://github.com/LibreDWG/libredwg/issues/690 | 1,657,379,504 | 690 |
[
"LibreDWG",
"libredwg"
] | The dwg (and json) contains the entities, blocks, extras offsets and size absolutely in bytes.
But when reading from DXF (or changed JSON) we only know the start/end object indices, not the offsets and size.
so we need helper functions to find the first BLOCK and last ENDBLK, und use the object index for the API, n... | change encode_preR13_entities API (again) | https://api.github.com/repos/LibreDWG/libredwg/issues/689/comments | 0 | 2023-04-06T08:59:32Z | 2023-04-06T12:50:06Z | https://github.com/LibreDWG/libredwg/issues/689 | 1,656,962,023 | 689 |
[
"LibreDWG",
"libredwg"
] | Enable the add API, just not encode. | enable reading preR13 dwg with --disable-write | https://api.github.com/repos/LibreDWG/libredwg/issues/688/comments | 0 | 2023-04-05T06:49:44Z | 2023-04-06T12:50:15Z | https://github.com/LibreDWG/libredwg/issues/688 | 1,655,039,014 | 688 |
[
"LibreDWG",
"libredwg"
] | When outputting to DXF, floating point values are truncated to 18 characters, which distorts the values of the header variables.
I suggest increasing DXF_FLT_MAXLEN. | Trunkated floating value in DXF | https://api.github.com/repos/LibreDWG/libredwg/issues/687/comments | 6 | 2023-04-04T13:46:59Z | 2023-04-18T11:18:59Z | https://github.com/LibreDWG/libredwg/issues/687 | 1,653,929,812 | 687 |
[
"LibreDWG",
"libredwg"
] | Examples:
[test.json.gz](https://github.com/LibreDWG/libredwg/files/11133369/test.json.gz)
[test.dwg.gz](https://github.com/LibreDWG/libredwg/files/11133370/test.dwg.gz)
I created test.dwg file with CLAYER = 2 (handle r11_idx = 2) and one entity (LINE).
I created test.json from this file via dwgread.
Output:
``... | No encoding of handles from JSON to DWG in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/686/comments | 4 | 2023-04-02T21:18:23Z | 2023-04-06T12:51:30Z | https://github.com/LibreDWG/libredwg/issues/686 | 1,651,098,001 | 686 |
[
"LibreDWG",
"libredwg"
] | When we convert DWG file to JSON and back via libredwg there is difference in text string.
Example:
[second.dwg.gz](https://github.com/LibreDWG/libredwg/files/11128606/second.dwg.gz)
[first.json.gz](https://github.com/LibreDWG/libredwg/files/11128607/first.json.gz)
[first.dwg.gz](https://github.com/LibreDWG/libre... | Wrong encode text length preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/683/comments | 2 | 2023-04-01T06:29:03Z | 2023-04-14T05:58:14Z | https://github.com/LibreDWG/libredwg/issues/683 | 1,650,326,078 | 683 |
[
"LibreDWG",
"libredwg"
] | Hello, I was testing my fuzzer and found two bugs in dwg2SVG.
## environment
ubuntu 20.04, GCC 9.4.0, libredwg latest commit 9df4ec3c524795a401acf371c8a953f5b1a6fadf
compile with
```
./autogen.sh && ./configure --disable-shared && make -j$(nproc)
```
##BUG1
```
./dwg2SVG ../pocs/poc0.bit_utf8_to_TU
==... | [FUZZ] two bugs in dwg2SVG | https://api.github.com/repos/LibreDWG/libredwg/issues/681/comments | 3 | 2023-03-31T04:10:48Z | 2023-03-31T13:37:12Z | https://github.com/LibreDWG/libredwg/issues/681 | 1,648,637,134 | 681 |
[
"LibreDWG",
"libredwg"
] | There are many interpretation of handles in libredwg JSON.
I see in JSON:
in dwgread: 0.1.1 [H 5]
```
"handle": [0, 2],
```
and
in dwgread: (4.0.0) abs:0 [H 0]
```
"ownerhandle": [4, 0, 0, 0, 0],
```
and
In preR13 is index to some table which is BITCODE_H too.
There is no serialization to JSON for... | How handles are interpreted in libredwg JSON? | https://api.github.com/repos/LibreDWG/libredwg/issues/678/comments | 3 | 2023-03-30T06:33:13Z | 2023-04-02T09:51:25Z | https://github.com/LibreDWG/libredwg/issues/678 | 1,647,000,507 | 678 |
[
"LibreDWG",
"libredwg"
] |
Hello, I was testing my fuzzer and found two bugs in dwg2dxf, which is different from #368 and #484
## environment
ubuntu 20.04, GCC 9.4.0, libredwg latest commit 77a85621de6e2c7ea44bc48c02e52dac97778ecb
compile with
```
./autogen.sh && ./configure --disable-shared && make -j$(nproc)
```
## BUG1
```
/li... | [FUZZ] two bugs in dwg2dxf | https://api.github.com/repos/LibreDWG/libredwg/issues/677/comments | 2 | 2023-03-30T04:10:56Z | 2023-04-04T14:03:23Z | https://github.com/LibreDWG/libredwg/issues/677 | 1,646,878,719 | 677 |
[
"LibreDWG",
"libredwg"
] | There is issue in conversion from JSON to DWG.
Example:
[test.json.gz](https://github.com/LibreDWG/libredwg/files/11104873/test.json.gz)
When i convert this JSON file via:
```
dwgwrite test.json
```
there is error:
```
Warning: Unknown key HEADER.layer_colors
```
which means no conversion to DWG.
Main p... | layer_colors issue with conversion from JSON (AC1.40) to DWG (AC1.40) | https://api.github.com/repos/LibreDWG/libredwg/issues/676/comments | 4 | 2023-03-29T19:43:15Z | 2023-03-30T14:33:43Z | https://github.com/LibreDWG/libredwg/issues/676 | 1,646,408,341 | 676 |
[
"LibreDWG",
"libredwg"
] | There are DIMMALTZ and DIMALTZ variables in the header and the DIMSTYLE object.
These values are the same, the conversion of AC1012 DIMALTZ = 1 to DXF is bad (0). | DIMMALTZ and DIMALTZ need to be merged | https://api.github.com/repos/LibreDWG/libredwg/issues/672/comments | 3 | 2023-03-24T09:17:55Z | 2023-03-24T13:27:33Z | https://github.com/LibreDWG/libredwg/issues/672 | 1,639,015,027 | 672 |
[
"LibreDWG",
"libredwg"
] | How can I compile this library as a dynamic so file that can be used for Android?thanks | How can I compile this library as a dynamic so file that can be used for Android? | https://api.github.com/repos/LibreDWG/libredwg/issues/671/comments | 2 | 2023-03-22T02:53:34Z | 2023-03-30T10:21:42Z | https://github.com/LibreDWG/libredwg/issues/671 | 1,634,973,504 | 671 |
[
"LibreDWG",
"libredwg"
] | Hi, I have attached three files. one original DWG file and two dxf files one created using libreDWG and other using AutoCAD. The file created using libredwg is not having all information, some information are missing.
[test.zip](https://github.com/LibreDWG/libredwg/files/11014459/test.zip)
| To DXF is not converting all informations (AME) | https://api.github.com/repos/LibreDWG/libredwg/issues/666/comments | 7 | 2023-03-20T05:33:39Z | 2023-04-01T06:41:52Z | https://github.com/LibreDWG/libredwg/issues/666 | 1,631,418,807 | 666 |
[
"LibreDWG",
"libredwg"
] | Hello,
While trying to read the arrowheads of dimensions I encountered some problems.
I have created various .dwg files just for testing purposes, each one has different arrowheads:
You can find them inside the attached file [test.zip](https://github.com/LibreDWG/libredwg/files/11003424/test.zip).
For example:
... | Problems with dimension arrowheads | https://api.github.com/repos/LibreDWG/libredwg/issues/663/comments | 7 | 2023-03-17T16:15:39Z | 2023-03-26T09:50:19Z | https://github.com/LibreDWG/libredwg/issues/663 | 1,629,581,270 | 663 |
[
"LibreDWG",
"libredwg"
] | Hello,
Please consider the attached file [test.zip](https://github.com/LibreDWG/libredwg/files/10999915/test.zip)
First, I tried to read a DWG file using dwgread.exe with the following command (powershell):
`.\libredwg-0.12.5-win64\dwgread.exe -o .\PressEdited.json .\PressEdited.dwg`
This successfully generate... | ERROR: bit_read_UMC: error parsing modular char, i=-1,j=42,result=0x1112e4a7652 | https://api.github.com/repos/LibreDWG/libredwg/issues/662/comments | 4 | 2023-03-17T09:58:28Z | 2023-04-15T17:09:38Z | https://github.com/LibreDWG/libredwg/issues/662 | 1,629,025,171 | 662 |
[
"LibreDWG",
"libredwg"
] | Hello,
I have a question,
I'm trying to read an OrdinateDim entity _(attached file OrdinateDim.zip)_ but it's not very clear to me how to get the final text position.
Please take a look at the image below:
 I see that the closed flag value of a LWPolyline is 1 ... | LWPolyline closed flag | https://api.github.com/repos/LibreDWG/libredwg/issues/658/comments | 3 | 2023-03-10T16:11:26Z | 2023-03-14T09:26:50Z | https://github.com/LibreDWG/libredwg/issues/658 | 1,619,224,348 | 658 |
[
"LibreDWG",
"libredwg"
] | Hello,
This DWG file generates a 0x941 error during reading.
[error_0x941.zip](https://github.com/LibreDWG/libredwg/files/10941272/error_0x941.zip)
| Crash during DWG read | https://api.github.com/repos/LibreDWG/libredwg/issues/657/comments | 5 | 2023-03-10T10:52:49Z | 2023-03-31T15:02:26Z | https://github.com/LibreDWG/libredwg/issues/657 | 1,618,780,187 | 657 |
[
"LibreDWG",
"libredwg"
] | Hello,
I'm trying to read a dwg file "3.dwg" _(see attachment below 3.zip)_.
I think there is an error in the leader entity:
The Leader entity with handle **117** should have an hookline, see image below:
_.
I have a problem in a text entity:
The Text entity with handle **890** should have the following text_value: "**20ƒ10/18 l=420 (alt)**"
But, if you look at the json file the 'ƒ' character is missing.
Please look at the image bel... | Still NATIVE_WCHAR2 failures. Fixed: Unicode characters in Text entities (unsupported <r2007 codepages, like ANSI_1254) | https://api.github.com/repos/LibreDWG/libredwg/issues/655/comments | 12 | 2023-03-09T13:06:12Z | 2024-03-11T18:41:20Z | https://github.com/LibreDWG/libredwg/issues/655 | 1,617,210,604 | 655 |
[
"LibreDWG",
"libredwg"
] | # Can we package the code to vcpkg?
- [vcpkg](https://github.com/microsoft/vcpkg)
- [package a lib](https://learn.microsoft.com/zh-cn/vcpkg/)
# Are there any guidelines or permits I should follow? | memmem issue on Apple's 10.6 SDK (was: Package the code to vcpkg) | https://api.github.com/repos/LibreDWG/libredwg/issues/652/comments | 8 | 2023-03-02T03:01:38Z | 2023-08-04T05:26:24Z | https://github.com/LibreDWG/libredwg/issues/652 | 1,606,026,336 | 652 |
[
"LibreDWG",
"libredwg"
] | hi, I tried to compile the lib in centos 7.0, unfortunately it failed. The error message is below, can anyone have any idea about it? Thanks.
$sh ./autogen.sh
+ rm -rf autom4te.cache config.status
+ test -d .git -a -f build-aux/git-version-gen
+ git fetch --tags
+ rm .tarball-version
++ build-aux/git-version-g... | configure failed in centos 7.0 | https://api.github.com/repos/LibreDWG/libredwg/issues/649/comments | 10 | 2023-02-28T03:52:10Z | 2023-03-03T02:26:25Z | https://github.com/LibreDWG/libredwg/issues/649 | 1,602,321,803 | 649 |
[
"LibreDWG",
"libredwg"
] | Hello,
I find it difficult to compare hatch pattern JSON data with actual AutoCAD hatch pattern values, is there something I need to know to properly interpret these values? In particular, the `origin` and `offset` doesn't sum up...
I've also checked [this article](https://knowledge.autodesk.com/support/autocad-l... | Hatch Pattern data different from AutoCAD one | https://api.github.com/repos/LibreDWG/libredwg/issues/648/comments | 3 | 2023-02-27T09:02:48Z | 2023-03-17T13:07:27Z | https://github.com/LibreDWG/libredwg/issues/648 | 1,600,758,509 | 648 |
[
"LibreDWG",
"libredwg"
] | As we can cross-compile via clang-cl and have a proper CI, and the work is not that much.
cmake only, no project files. cmake can generate them if needed. | VS2019 support via cmake | https://api.github.com/repos/LibreDWG/libredwg/issues/647/comments | 1 | 2023-02-17T11:20:55Z | 2023-03-01T12:58:14Z | https://github.com/LibreDWG/libredwg/issues/647 | 1,589,204,422 | 647 |
[
"LibreDWG",
"libredwg"
] | vs2019 link with libredwg-0.12.5.5140-win64
Dwg_Data* pDoc = dwg_new_Document(R_2000, 0, 0);
Dwg_Object* poMSpace = dwg_model_space_object(pDoc);
Dwg_Object_BLOCK_HEADER* pMSpace = poMSpace->tio.object->tio.BLOCK_HEADER;
dwg_point_3d start = { 0 };
dwg_point_3d end = { 0 };
dwg_add_LINE(pMSpace, &start, &end);... | Memory management isolation | https://api.github.com/repos/LibreDWG/libredwg/issues/646/comments | 4 | 2023-02-15T14:58:05Z | 2023-02-17T10:27:51Z | https://github.com/LibreDWG/libredwg/issues/646 | 1,586,006,193 | 646 |
[
"LibreDWG",
"libredwg"
] | null | add clang-tidy support | https://api.github.com/repos/LibreDWG/libredwg/issues/645/comments | 0 | 2023-02-15T12:13:00Z | 2023-02-17T11:18:54Z | https://github.com/LibreDWG/libredwg/issues/645 | 1,585,753,328 | 645 |
[
"LibreDWG",
"libredwg"
] | - _obj->TDCREATE {days=2454762 ms=99310234 value=2454762.9931023400 } _dwg_time_bll
days 2454762 unsigned int
ms 99310234 unsigned int
value 2454762.9931023400 double
- tm {tm_sec=10 tm_min=35 tm_hour=27 ...} tm
tm_sec 10 int
tm_min 35 int
tm_hour 27 int
tm_mday 22 int
tm_mon 9 int
tm_year... | BUG of cvt_TIMEBLL | https://api.github.com/repos/LibreDWG/libredwg/issues/639/comments | 5 | 2023-02-13T02:21:21Z | 2023-02-17T11:19:44Z | https://github.com/LibreDWG/libredwg/issues/639 | 1,581,530,058 | 639 |
[
"LibreDWG",
"libredwg"
] | The performance of generating large files is too poor. There are several optional optimization steps: 1. find_prev_Entity can add a prev_ Index points to the last added entity object so that it does not need to reverse lookup 2. dwg_add_Handleref uses binary search to replace linear search. Currently, the time for 9M d... | Performance of find_prev_Entity/dwg_add_Handleref | https://api.github.com/repos/LibreDWG/libredwg/issues/638/comments | 2 | 2023-02-12T12:10:24Z | 2023-03-01T12:58:53Z | https://github.com/LibreDWG/libredwg/issues/638 | 1,581,234,786 | 638 |
[
"LibreDWG",
"libredwg"
] | into MENU and MENUEXT.
stored in JSON as MENU only | MENUEXT: split on import or version downgrade | https://api.github.com/repos/LibreDWG/libredwg/issues/636/comments | 1 | 2023-02-10T06:08:57Z | 2023-04-14T05:58:34Z | https://github.com/LibreDWG/libredwg/issues/636 | 1,579,047,972 | 636 |
[
"LibreDWG",
"libredwg"
] | We need to fix the extra entity section. This is not a classic entity section.
Example:
[PL1.DXF.gz](https://github.com/LibreDWG/libredwg/files/10702438/PL1.DXF.gz)
[PL1.DWG.gz](https://github.com/LibreDWG/libredwg/files/10702439/PL1.DWG.gz)
Actual output:
```
extra entities: (0x932-0x943 (0), size 17)
=====... | Fix extra entity section in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/635/comments | 8 | 2023-02-09T23:43:29Z | 2023-04-18T11:20:03Z | https://github.com/LibreDWG/libredwg/issues/635 | 1,578,773,702 | 635 |
[
"LibreDWG",
"libredwg"
] | We need to fix AUX header in R11
Prepared commit: https://github.com/michal-josef-spacek/libredwg/commit/dcbe8080d9b815c810e5140210652453302b0176
Possible to commit after https://github.com/LibreDWG/libredwg/pull/630 and https://github.com/LibreDWG/libredwg/pull/631 | Fix AUX header in R11 | https://api.github.com/repos/LibreDWG/libredwg/issues/632/comments | 12 | 2023-02-08T17:20:50Z | 2023-02-09T18:40:11Z | https://github.com/LibreDWG/libredwg/issues/632 | 1,576,515,447 | 632 |
[
"LibreDWG",
"libredwg"
] | We have 3 entity sections in preR13
This issue is about fixing them. | Fix entity sections in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/629/comments | 2 | 2023-02-08T00:38:11Z | 2023-02-09T14:04:38Z | https://github.com/LibreDWG/libredwg/issues/629 | 1,575,253,214 | 629 |
[
"LibreDWG",
"libredwg"
] | attdef and atrib tag is one word and R13 (tested on R14) supports utf8 string for it.
dwgadd don't encode utf8 string in case of tag actually. | dwgadd: Fix attdef and attrib tag for releases which could use utf8 | https://api.github.com/repos/LibreDWG/libredwg/issues/628/comments | 7 | 2023-02-02T10:29:30Z | 2023-02-06T15:56:48Z | https://github.com/LibreDWG/libredwg/issues/628 | 1,567,771,059 | 628 |
[
"LibreDWG",
"libredwg"
] | Example:
[MENU1.DXF.gz](https://github.com/LibreDWG/libredwg/files/10567704/MENU1.DXF.gz)
[MENU1.DWG.gz](https://github.com/LibreDWG/libredwg/files/10567705/MENU1.DWG.gz)
In example is longest menu path, which could be.
```C:\ABCDEFG\HIJKLMNO\PQRSTUVW\XYZABCDE\FGHIJKLM\NOPQRS\ACAD```
First part is existing men... | Identify second part of $MENU header variable | https://api.github.com/repos/LibreDWG/libredwg/issues/626/comments | 3 | 2023-02-02T10:14:23Z | 2023-02-03T11:37:06Z | https://github.com/LibreDWG/libredwg/issues/626 | 1,567,744,437 | 626 |
[
"LibreDWG",
"libredwg"
] | There is ```dwg_add_ATTRIB```, ```dwg_add_ATTDEF``` internal functions and public ```dwg_add_Atribute``` which works on insert.
This is not ok.
```ATTDEF``` is a regular entity that could be in entities as is.
```ATTDEF``` entity could be used in block, this is a sense of this entity. In this case, it is moving to... | Fix attdef and attrib concept | https://api.github.com/repos/LibreDWG/libredwg/issues/619/comments | 7 | 2023-01-31T12:16:47Z | 2023-02-01T12:21:47Z | https://github.com/LibreDWG/libredwg/issues/619 | 1,564,199,502 | 619 |
[
"LibreDWG",
"libredwg"
] | some r2004 dwg's have invalid section_map_address (as well as last_section_address and second_header_address), overflowing the stream. e.g. to/2004/1/1344464555.dwg
of size 0x3d6e00, with section_map_address: 0xc16f00.
we know that the section type magic 0x41630e3b must appear at a 0x20 page boundary.
ODA fails ... | search for the Section Page Map backwards | https://api.github.com/repos/LibreDWG/libredwg/issues/617/comments | 0 | 2023-01-31T07:26:25Z | 2023-02-01T12:21:57Z | https://github.com/LibreDWG/libredwg/issues/617 | 1,563,798,827 | 617 |
[
"LibreDWG",
"libredwg"
] | # Description
heap-buffer-overflow in function decode_preR13_section_chk at decode_r11.c:225
# Version
```
git log
commit d11e3c5b1c003174072732e1b2276b793af5dac8 (HEAD -> master, tag: 0.12.5.5028, origin/smoke/some_mc0_support, origin/master, origin/HEAD)
Author: Reini Urban <rurban@cpan.org>
Date: Mon... | heap-buffer-overflow in function decode_preR13_section_chk at decode_r11.c:225 | https://api.github.com/repos/LibreDWG/libredwg/issues/616/comments | 0 | 2023-01-31T01:03:36Z | 2023-01-31T06:27:36Z | https://github.com/LibreDWG/libredwg/issues/616 | 1,563,448,873 | 616 |
[
"LibreDWG",
"libredwg"
] | # Description
heap-buffer-overflow in function bit_read_RC at bits.c:320
# Version
```
git log
commit 3c90dc6641e11e486666940d7f354d2df54503d6 (HEAD -> master, tag: 0.12.5.5010, origin/master, origin/HEAD)
Author: Michal Josef Špaček <michal.josef.spacek@gmail.com>
Date: Fri Jan 27 18:50:08 2023 +0100
... | heap-buffer-overflow in function bit_read_RC at bits.c:320 | https://api.github.com/repos/LibreDWG/libredwg/issues/615/comments | 1 | 2023-01-30T08:00:12Z | 2023-04-29T20:50:44Z | https://github.com/LibreDWG/libredwg/issues/615 | 1,561,928,009 | 615 |
[
"LibreDWG",
"libredwg"
] | There is another issue with:
```
else if (SSCANF_S (p, #var "." FMT_NAME " = %lf", &s1[0] SZ, &f1)) \
{ \
if (!ent.u.var || ent.type != DWG_TYPE_##name) \
fn_error ("Invalid type " #var ". ... | dwgadd issue with variable converting to radians | https://api.github.com/repos/LibreDWG/libredwg/issues/611/comments | 2 | 2023-01-28T10:49:58Z | 2023-02-02T08:33:08Z | https://github.com/LibreDWG/libredwg/issues/611 | 1,560,814,827 | 611 |
[
"LibreDWG",
"libredwg"
] | When I have dwgadd input:
```
text "baz" (1 2 3) 8
text.oblique_angle = 45.0
```
Parsing of entity not working.
Code of:
```
#define SET_ENT(var, name) \
if (SSCANF_S (p, #var "." FMT_NAME " = %d.%d.%X", &s1[0] SZ, &i1, &i2, &u)) \
{ ... | dwgadd issue with parsing of entity field (entity.field) | https://api.github.com/repos/LibreDWG/libredwg/issues/610/comments | 2 | 2023-01-28T06:19:59Z | 2023-02-02T08:33:07Z | https://github.com/LibreDWG/libredwg/issues/610 | 1,560,716,065 | 610 |
[
"LibreDWG",
"libredwg"
] | When I use ```dwgadd``` for text entity, it doesn't work.
All floats after the text string are 0.00000.
When I change FMT_ANY to FMT_TBL, everything is working. | dwgadd issue with text entity (bad FMT_ANY) | https://api.github.com/repos/LibreDWG/libredwg/issues/609/comments | 1 | 2023-01-27T18:32:55Z | 2023-02-02T08:33:06Z | https://github.com/LibreDWG/libredwg/issues/609 | 1,560,223,391 | 609 |
[
"LibreDWG",
"libredwg"
] | There are no logging messages when I compile code which is using dwg.c.
Logging from encode.c is on the place.
When I am looking to encode.c and dwg.c files, they are similar.
Both have:
```
/* The logging level per .o */
static unsigned int loglevel;
#ifdef USE_TRACING
/* This flag means we have checked th... | Issue with logging in dwg.c | https://api.github.com/repos/LibreDWG/libredwg/issues/607/comments | 2 | 2023-01-27T11:38:46Z | 2023-01-27T12:40:25Z | https://github.com/LibreDWG/libredwg/issues/607 | 1,559,609,461 | 607 |
[
"LibreDWG",
"libredwg"
] | Actuall situation in my Debian:
```
/usr/bin/perl ./src/gen-dynapi.pl
using gcc with /usr/lib/gcc/x86_64-linux-gnu/10/include
stdint.h, line 26: file 'bits/libc-header-start.h' not found
included from /usr/lib/gcc/x86_64-linux-gnu/10/include/stdint.h:9
included from ./include/dwg.h:33 at ./src/gen... | Fix make regen-dynapi on Debian | https://api.github.com/repos/LibreDWG/libredwg/issues/601/comments | 4 | 2023-01-23T14:42:01Z | 2023-01-25T08:38:14Z | https://github.com/LibreDWG/libredwg/issues/601 | 1,553,219,303 | 601 |
[
"LibreDWG",
"libredwg"
] | Example:
[HS1.DXF.gz](https://github.com/LibreDWG/libredwg/files/10474512/HS1.DXF.gz)
[HS1.DWG.gz](https://github.com/LibreDWG/libredwg/files/10474513/HS1.DWG.gz)
Actual output:
```
HANDLING: 1 [RS 70]
HANDSEED: 0 [RSx 5]
unknown_4f2: 4080275968 [RL 70]
```
In DXF is:
```
$HANDLING
70
1
9
$H... | Fix HANDSEED in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/596/comments | 2 | 2023-01-22T13:57:43Z | 2023-01-22T18:24:03Z | https://github.com/LibreDWG/libredwg/issues/596 | 1,552,128,605 | 596 |
[
"LibreDWG",
"libredwg"
] | Hello!
I found this recently, there is a similar one currently open but the call stack is different so I am reporting.
Regards
[bit_read_RC.zip](https://github.com/LibreDWG/libredwg/files/10471135/bit_read_RC.zip)
```
./dwgread
AddressSanitizer: heap-buffer-overflow on address 0x6220000000ff at pc 0x7f... | AddressSanitizer: heap-buffer-overflow /libredwg/src/bits.c:320:10 in bit_read_RC | https://api.github.com/repos/LibreDWG/libredwg/issues/594/comments | 0 | 2023-01-21T00:28:20Z | 2023-01-25T20:56:38Z | https://github.com/LibreDWG/libredwg/issues/594 | 1,551,617,301 | 594 |
[
"LibreDWG",
"libredwg"
] | We have different variables for same thing in preR13 and R13 versions
Examples:
[Drawing_r14.dxf.gz](https://github.com/LibreDWG/libredwg/files/10469189/Drawing_r14.dxf.gz)
[Drawing_r14.dwg.gz](https://github.com/LibreDWG/libredwg/files/10469190/Drawing_r14.dwg.gz)
[Drawing_r11.dxf.gz](https://github.com/LibreDWG... | Unify unknown variable in header (preR13 and R13 versions) | https://api.github.com/repos/LibreDWG/libredwg/issues/592/comments | 4 | 2023-01-20T18:47:08Z | 2023-01-25T08:38:32Z | https://github.com/LibreDWG/libredwg/issues/592 | 1,551,298,459 | 592 |
[
"LibreDWG",
"libredwg"
] | There is an init value (https://github.com/LibreDWG/libredwg/blob/master/src/decode_r11.c#L708):
```
unsigned num_sections = 5;
```
But not adding sections like (https://github.com/LibreDWG/libredwg/blob/master/src/dwg.c#L3051):
```
if (!dwg->header.numsections)
dwg->header.numsections = 5;
// H... | Fix num_sections in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/591/comments | 5 | 2023-01-20T18:27:15Z | 2023-01-30T15:47:53Z | https://github.com/LibreDWG/libredwg/issues/591 | 1,551,279,935 | 591 |
[
"LibreDWG",
"libredwg"
] | Example:
[LT.scr.gz](https://github.com/LibreDWG/libredwg/files/10468962/LT.scr.gz)
[LT.DWG.gz](https://github.com/LibreDWG/libredwg/files/10468963/LT.DWG.gz)
```
entities_start: 0x2e5 [RLx 0]
entities_end: 0x2e5 [RLx 0]
blocks_start: 0xffffc0bd [RLx 0]
blocks_size: 0x0 [RLx 0]
blocks_end: 0x0 [RLx 0]
blocks... | Issue with block_start in case with many linetypes (AC2.10) | https://api.github.com/repos/LibreDWG/libredwg/issues/589/comments | 3 | 2023-01-20T18:12:11Z | 2023-01-25T14:45:38Z | https://github.com/LibreDWG/libredwg/issues/589 | 1,551,262,845 | 589 |
[
"LibreDWG",
"libredwg"
] | Example:
[ANG3PT.scr.gz](https://github.com/LibreDWG/libredwg/files/10457003/ANG3PT.scr.gz)
[ANG3PT.DXF.gz](https://github.com/LibreDWG/libredwg/files/10457004/ANG3PT.DXF.gz)
[ANG3PT.DWG.gz](https://github.com/LibreDWG/libredwg/files/10457005/ANG3PT.DWG.gz)

siz... | r10 LINE missing 2 doubles | https://api.github.com/repos/LibreDWG/libredwg/issues/586/comments | 4 | 2023-01-19T11:10:10Z | 2023-01-20T09:22:37Z | https://github.com/LibreDWG/libredwg/issues/586 | 1,548,950,055 | 586 |
[
"LibreDWG",
"libredwg"
] | Not a bug, but a question.
I am not a CAD user, and I don't have Autocad. But I've got some .dwg files that I need to read/convert to some other readable format.
I tested a few free online readers/converters but looks like they are made for older .dwg versions.
I guess my files are just the default Autocad 2022 ... | supported .dwg format versions? | https://api.github.com/repos/LibreDWG/libredwg/issues/584/comments | 4 | 2023-01-18T20:10:28Z | 2023-01-19T12:24:41Z | https://github.com/LibreDWG/libredwg/issues/584 | 1,538,643,309 | 584 |
[
"LibreDWG",
"libredwg"
] | Example (created in R14):
[DIM1.scr.gz](https://github.com/LibreDWG/libredwg/files/10445175/DIM1.scr.gz)
[DIM1.DXF.gz](https://github.com/LibreDWG/libredwg/files/10445176/DIM1.DXF.gz)
[DIM1.DWG.gz](https://github.com/LibreDWG/libredwg/files/10445177/DIM1.DWG.gz)
```
Add entity DIMENSION_ANG2LN [13] =============... | Fix preR13 dimstyle index | https://api.github.com/repos/LibreDWG/libredwg/issues/582/comments | 2 | 2023-01-18T11:45:41Z | 2023-01-20T10:01:19Z | https://github.com/LibreDWG/libredwg/issues/582 | 1,537,857,355 | 582 |
[
"LibreDWG",
"libredwg"
] | Attached reproduction case, tested against latest git version using ASAN enabled. I noticed two similar reports on the same function but those are already closed as fixed.
[decode_preR13_section_hdr.zip](https://github.com/LibreDWG/libredwg/files/10441807/decode_preR13_section_hdr.zip)
```
./dwgread decode_preR1... | AddressSanitizer: heap-buffer-overflow libredwg/src/decode_r11.c:141:13 in decode_preR13_section_hdr | https://api.github.com/repos/LibreDWG/libredwg/issues/581/comments | 1 | 2023-01-18T03:19:21Z | 2023-01-18T10:12:41Z | https://github.com/LibreDWG/libredwg/issues/581 | 1,537,344,132 | 581 |
[
"LibreDWG",
"libredwg"
] | Hello!
I did some fuzz testing a while ago, just updated and recompiled, only the following crashes still reproduces.
[file.zip](https://github.com/LibreDWG/libredwg/files/10422616/file.zip)
This is the output with ASAN enabled:
```
./dwgread file.dwg
====================================================... | AddressSanitizer: heap-buffer-overflow in copy_bytes libredwg/src/decode_r2007.c:229:12 | https://api.github.com/repos/LibreDWG/libredwg/issues/578/comments | 2 | 2023-01-16T04:54:01Z | 2023-01-16T15:12:48Z | https://github.com/LibreDWG/libredwg/issues/578 | 1,534,294,018 | 578 |
[
"LibreDWG",
"libredwg"
] | Rarely
```
ok 347 # write MTEXT to add_mtext_2000.dxf
not ok 348 # read MTEXT from add_mtext_2000.dxf: 800
ok 349 # write LEADER to add_leader_2000.dxf
not ok 350 # read LEADER from add_leader_2000.dxf: 800
```
looks like a concurrency problem to me | flaky add_test | https://api.github.com/repos/LibreDWG/libredwg/issues/572/comments | 0 | 2023-01-12T06:55:25Z | 2023-01-20T09:22:48Z | https://github.com/LibreDWG/libredwg/issues/572 | 1,530,201,961 | 572 |
[
"LibreDWG",
"libredwg"
] | I'm currently using the api to read xdata data, but I don't know dwg_obj_xrecord_get_xdata How to use the parameters of the xdata function? Please help me. Thank you very much
| Is there an example of reading xdata data | https://api.github.com/repos/LibreDWG/libredwg/issues/564/comments | 2 | 2023-01-07T09:58:28Z | 2023-01-08T05:12:54Z | https://github.com/LibreDWG/libredwg/issues/564 | 1,523,669,925 | 564 |
[
"LibreDWG",
"libredwg"
] | Files:
[tmp_line.scr.gz](https://github.com/LibreDWG/libredwg/files/10347712/tmp_line.scr.gz)
[tmp_line.dxf.gz](https://github.com/LibreDWG/libredwg/files/10347713/tmp_line.dxf.gz)
[tmp_line.dwg.gz](https://github.com/LibreDWG/libredwg/files/10347714/tmp_line.dwg.gz)
There is tmp line entity actually:
```
type:... | issue with tmp line entity | https://api.github.com/repos/LibreDWG/libredwg/issues/558/comments | 5 | 2023-01-04T21:47:10Z | 2023-01-05T11:45:59Z | https://github.com/LibreDWG/libredwg/issues/558 | 1,519,620,002 | 558 |
[
"LibreDWG",
"libredwg"
] | Code:
```
#define LOG_FLAG_R11_MAX(w) \
if (_obj->flag_r11 > FLAG_R11_##w) \
LOG_WARN ("Unknown flag_r11 (0x%d)", _obj->flag_r11)
```
is not working.
_obj->flag_r11 is e.g. 0xa0 (160) = composition of HAS_HANDLING (0x32) and HAS_ATTRIBS (0x128)
An... | Issue with LOG_FLAG_R11_MAX | https://api.github.com/repos/LibreDWG/libredwg/issues/549/comments | 3 | 2023-01-03T15:24:14Z | 2023-01-04T06:35:32Z | https://github.com/LibreDWG/libredwg/issues/549 | 1,517,545,858 | 549 |
[
"LibreDWG",
"libredwg"
] | [fit_curve_pline.scr.gz](https://github.com/LibreDWG/libredwg/files/10336468/fit_curve_pline.scr.gz)
[fit_curve_pline.dxf.gz](https://github.com/LibreDWG/libredwg/files/10336469/fit_curve_pline.dxf.gz)
[fit_curve_pline.dwg.gz](https://github.com/LibreDWG/libredwg/files/10336470/fit_curve_pline.dwg.gz)
Something wi... | Issue with Polyline in AC1003 | https://api.github.com/repos/LibreDWG/libredwg/issues/548/comments | 15 | 2023-01-03T12:19:04Z | 2023-02-13T18:39:11Z | https://github.com/LibreDWG/libredwg/issues/548 | 1,517,314,901 | 548 |
[
"LibreDWG",
"libredwg"
] | In https://github.com/LibreDWG/libredwg/blob/master/src/dwg.spec#L1167 we have:
```
if (R11OPTS (1))
FIELD_RC (has_vertex, 66);
```
This is bad, it's
```
if (R11OPTS (1))
FIELD_RC (flag, 70);
```
Same flag as https://github.com/LibreDWG/libredwg/blob/master/include/dwg.h#L1545:
```
BITCO... | Fix polyline flag in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/542/comments | 2 | 2023-01-01T21:46:55Z | 2023-01-02T12:04:24Z | https://github.com/LibreDWG/libredwg/issues/542 | 1,515,853,092 | 542 |
[
"LibreDWG",
"libredwg"
] | macOS diff -1 deprecation
-bu1 interpretated as -b -u -1 | macOS diff -1 deprecation | https://api.github.com/repos/LibreDWG/libredwg/issues/541/comments | 0 | 2022-12-19T11:10:21Z | 2022-12-23T08:37:10Z | https://github.com/LibreDWG/libredwg/issues/541 | 1,502,751,324 | 541 |
[
"LibreDWG",
"libredwg"
] | Commit d6029e974 with changes in dwg_add_Document() is bad.
Decoding process is:
* read numheader_vars from DWG file
* dwg_add_Document (which after this commit set this variable to different values)
* usage of numheader_vars
As I understand, we need to move this setting to dwg_new_Document() | Issue with reading of numheader_vars | https://api.github.com/repos/LibreDWG/libredwg/issues/540/comments | 5 | 2022-12-18T07:31:09Z | 2022-12-22T17:46:22Z | https://github.com/LibreDWG/libredwg/issues/540 | 1,501,797,494 | 540 |
[
"LibreDWG",
"libredwg"
] | eg example_2004.dwg
```
Preview (31439)
-------------------
overall size: 31403 [RL]
num_pictures: 2 [RC]
[0] Code: 1 [RC]
Header data start: 0x1e7 [RL]
Header data size: 80 [RL]
[1] Code: 2 [RC]
Header data start: 0x237 [RL]
BMP... | Wrong BMP preview logic | https://api.github.com/repos/LibreDWG/libredwg/issues/539/comments | 1 | 2022-12-16T07:16:46Z | 2022-12-31T19:10:24Z | https://github.com/LibreDWG/libredwg/issues/539 | 1,499,719,087 | 539 |
[
"LibreDWG",
"libredwg"
] | they have FIELD_xx fields with an early return, but we changed the dat->chain, leading to invalid free errors later. As in #491
the spec does it properly with a nested private function
it also makes no sense to have to maintain the same spec in 2 places, dwg.spec and decode_r11.c | use dwg.spec for preR13 tables | https://api.github.com/repos/LibreDWG/libredwg/issues/538/comments | 0 | 2022-12-15T09:11:30Z | 2023-02-12T16:31:06Z | https://github.com/LibreDWG/libredwg/issues/538 | 1,498,062,378 | 538 |
[
"LibreDWG",
"libredwg"
] | ### Discussed in https://github.com/LibreDWG/libredwg/discussions/515
<div type='discussions-op-text'>
<sup>Originally posted by **cbvgn** August 4, 2022</sup>
* [x] File 222.dxf has a root dictionary, but not as the first entity in the OBJECTS section as required
* [x] File A2.dxf has an invalid empty line at... | Invalid DXF files created | https://api.github.com/repos/LibreDWG/libredwg/issues/536/comments | 3 | 2022-12-13T12:59:33Z | 2022-12-15T07:58:38Z | https://github.com/LibreDWG/libredwg/issues/536 | 1,494,191,165 | 536 |
[
"LibreDWG",
"libredwg"
] | In input:
```
text "test" (0.0 1.0 0.0) 8
```
dwgadd badly parse text string to `test"` | dwgadd issue in text entity | https://api.github.com/repos/LibreDWG/libredwg/issues/535/comments | 11 | 2022-12-12T13:21:29Z | 2022-12-13T12:25:52Z | https://github.com/LibreDWG/libredwg/issues/535 | 1,491,878,502 | 535 |
[
"LibreDWG",
"libredwg"
] | Hi @rurban
When we are decoding e.g. AC1.4 in Entity obj->type will be a number of entity in R11 (LINE = 1).
When we are decoding e.g. AC1015 in Entity obj->type will be a number of entities in > R11 (LINE = 19).
What about the unification of this type to the > R11 version?
I think that we could do better conver... | Entity type id | https://api.github.com/repos/LibreDWG/libredwg/issues/532/comments | 3 | 2022-12-09T18:51:57Z | 2022-12-12T06:47:56Z | https://github.com/LibreDWG/libredwg/issues/532 | 1,487,265,721 | 532 |
[
"LibreDWG",
"libredwg"
] | writes wrong handle offsets via dwgadd.
tested with dwgaddtest AC1014 r14 | encode r13,r14 DICTIONARY.ownerhandle | https://api.github.com/repos/LibreDWG/libredwg/issues/531/comments | 1 | 2022-12-09T13:28:37Z | 2022-12-12T12:24:12Z | https://github.com/LibreDWG/libredwg/issues/531 | 1,486,764,836 | 531 |
[
"LibreDWG",
"libredwg"
] | with r13,r14 only | XRECORD.objid_handles double-free | https://api.github.com/repos/LibreDWG/libredwg/issues/530/comments | 1 | 2022-12-08T13:05:42Z | 2022-12-12T12:24:02Z | https://github.com/LibreDWG/libredwg/issues/530 | 1,484,601,860 | 530 |
[
"LibreDWG",
"libredwg"
] | see eg, dwgadd_test.sh | ACSH_init_evalgraph evalexpr leak | https://api.github.com/repos/LibreDWG/libredwg/issues/529/comments | 0 | 2022-12-08T11:57:35Z | 2023-09-20T07:48:33Z | https://github.com/LibreDWG/libredwg/issues/529 | 1,484,478,779 | 529 |
[
"LibreDWG",
"libredwg"
] | **System info**
Ubuntu x86_64, clang 10.0
version: 0.12.4.4643, last commit [93c2512](https://github.com/LibreDWG/libredwg/commit/93c25124c191987af168ace9fe4b5623061874bd)
**Command line**
./dwg2dxf poc
**Poc**
poc : [poc](https://github.com/iorra-cifer/Poc/blob/main/libredwg/Nullpointer_2?raw=true)
**Add... | A NULL pointer dereference exists in the function dwg_add_u8_input in dwg_api.c | https://api.github.com/repos/LibreDWG/libredwg/issues/528/comments | 0 | 2022-11-30T07:16:39Z | 2022-12-01T08:12:50Z | https://github.com/LibreDWG/libredwg/issues/528 | 1,469,159,440 | 528 |
[
"LibreDWG",
"libredwg"
] | **System info**
Ubuntu x86_64, clang 10.0
version: 0.12.4.4643, last commit [93c2512](https://github.com/LibreDWG/libredwg/commit/93c25124c191987af168ace9fe4b5623061874bd)
**Command line**
./dwg2dxf poc
Poc
poc : [poc](https://github.com/iorra-cifer/Poc/blob/main/libredwg/Nullpointer_1?raw=true)
**AddressS... | A NULL pointer dereference exists in the function decode_preR13 in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/527/comments | 1 | 2022-11-30T07:10:54Z | 2022-11-30T12:04:32Z | https://github.com/LibreDWG/libredwg/issues/527 | 1,469,153,510 | 527 |
[
"LibreDWG",
"libredwg"
] | **System info**
Ubuntu x86_64, clang 10.0
version: 0.12.4.4643, last commit [93c2512](https://github.com/LibreDWG/libredwg/commit/93c25124c191987af168ace9fe4b5623061874bd)
**Command line**
./dwg2dxf poc
**Poc**
poc: [poc](https://github.com/iorra-cifer/Poc/blob/main/libredwg/heap-buffer-overflow?raw=true)
... | heap-buffer-overflow exists in the function decode_preR13_section_hdr in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/524/comments | 1 | 2022-11-13T04:23:10Z | 2022-11-30T12:14:12Z | https://github.com/LibreDWG/libredwg/issues/524 | 1,446,725,478 | 524 |
[
"LibreDWG",
"libredwg"
] | Hi, I am using dwg2SVG from docker. Have not managed to use this command for any of the files in the test folder [libredwg](https://github.com/LibreDWG/libredwg)/[test](https://github.com/LibreDWG/libredwg/tree/master/test)/test-data/. For example:
dwg2SVG example_r14.dwg > example_r14.svg this gives an empty content ... | dwg2SVG wrong viewBox | https://api.github.com/repos/LibreDWG/libredwg/issues/523/comments | 10 | 2022-11-11T08:33:05Z | 2024-03-08T03:04:38Z | https://github.com/LibreDWG/libredwg/issues/523 | 1,445,127,414 | 523 |
[
"LibreDWG",
"libredwg"
] | Hello all,
## Context
I recently forked the project and started to work in examples/dwg2svg.C to cover some my needs. I want to export architectural plans and keep the layers organization (either groups in svg or a layer-name attribute in each tags).
I reached to add lwpolyline and ellipse export but I'm facing is... | How should I access to object's layer name? | https://api.github.com/repos/LibreDWG/libredwg/issues/522/comments | 2 | 2022-10-19T20:57:31Z | 2022-10-20T09:38:12Z | https://github.com/LibreDWG/libredwg/issues/522 | 1,415,576,441 | 522 |
[
"LibreDWG",
"libredwg"
] | Hello everybody,
I just re-install ubuntu 18 on my lap top and try to install libredwg. I done apt update and upgrade after installation, then installed python3.8 and pip and set it as default by editing the simlink and installed following packages: git autoconf libtool swig python-dev texinfo build-essential gcc
Th... | Failed to install on fresh Ubuntu installation with python3.8: Could not link test program to Python | https://api.github.com/repos/LibreDWG/libredwg/issues/521/comments | 3 | 2022-10-17T23:31:12Z | 2022-10-18T12:20:19Z | https://github.com/LibreDWG/libredwg/issues/521 | 1,412,366,825 | 521 |
[
"LibreDWG",
"libredwg"
] | I have a dwg with drawing arcs. I tried to use dwgread.exe with GeoJSON output, it gives me null in geometry

Please If someone can help !!
**note: I tried different dwg versions: AutoCad 2010, 2019 a... | missing arcsplit, wrong null json value in geojson | https://api.github.com/repos/LibreDWG/libredwg/issues/520/comments | 3 | 2022-10-12T14:56:48Z | 2023-08-13T11:12:43Z | https://github.com/LibreDWG/libredwg/issues/520 | 1,406,361,637 | 520 |
[
"LibreDWG",
"libredwg"
] | Hi, developers of libredwg:
I also find an assertion failed in binay **dwglayers**. The input and the information are as follows. Any help would be greatly appreciated from you :D
**input:**
https://github.com/Yhcrown/fuzzing-crashes/blob/main/validated/dwglayers/0
**output:**
```
dwglayers: dwglayers.c:166: int ... | Assertion failed in binary dwglayers | https://api.github.com/repos/LibreDWG/libredwg/issues/519/comments | 4 | 2022-08-20T13:43:23Z | 2022-12-01T08:13:13Z | https://github.com/LibreDWG/libredwg/issues/519 | 1,345,168,785 | 519 |
[
"LibreDWG",
"libredwg"
] | Hi, developers of libredwg:
Recently, I test some binaries instrumented with ASAN in libredwg . Unfortunately, some incurred crashes with the following error information. Any help would be greatly appreciated from you :D
For binary **dwgread**:
crash input:
https://github.com/Yhcrown/fuzzing-crashes/blob/main/val... | attempting double-free in function dwg_free_XRECORD_private | https://api.github.com/repos/LibreDWG/libredwg/issues/518/comments | 0 | 2022-08-20T13:37:50Z | 2022-12-13T04:55:53Z | https://github.com/LibreDWG/libredwg/issues/518 | 1,345,167,573 | 518 |
[
"LibreDWG",
"libredwg"
] | Hello, I'd like to ask whether there are relevant examples of block that can be read, whether block has offset values and other relevant parameters, and how I can get them. I'm looking forward to your reply, thank you! | How to Read Block? | https://api.github.com/repos/LibreDWG/libredwg/issues/517/comments | 0 | 2022-08-04T14:45:02Z | 2022-08-15T00:03:21Z | https://github.com/LibreDWG/libredwg/issues/517 | 1,328,747,508 | 517 |
[
"LibreDWG",
"libredwg"
] | File 222.dxf has a root dictionary, but not as the first entity in the OBJECTS section as required
File A2.dxf has an invalid empty line at line number 18395 and 18498, after fixing that same issue as in file 222.dxf
[invalid files.zip](https://github.com/LibreDWG/libredwg/files/9257875/invalid.files.zip)
| Some invalid DXF files were created | https://api.github.com/repos/LibreDWG/libredwg/issues/516/comments | 1 | 2022-08-04T08:17:52Z | 2022-12-14T12:01:25Z | https://github.com/LibreDWG/libredwg/issues/516 | 1,328,246,267 | 516 |
[
"LibreDWG",
"libredwg"
] | layer indexed colors works only in dxf2000
[dxf_colors.zip](https://github.com/LibreDWG/libredwg/files/9229233/dxf_colors.zip)
| Wrong layer indexed colors for dxf2004,2007,2010,2013,2018 | https://api.github.com/repos/LibreDWG/libredwg/issues/513/comments | 3 | 2022-07-31T15:59:07Z | 2023-06-27T10:22:00Z | https://github.com/LibreDWG/libredwg/issues/513 | 1,323,499,752 | 513 |
[
"LibreDWG",
"libredwg"
] | layer indexed colors works only in dwg2000
[dwg_colors.zip](https://github.com/LibreDWG/libredwg/files/9229232/dwg_colors.zip) | Wrong layer indexed colors for dwg2004,2007,2010,2013,2018 | https://api.github.com/repos/LibreDWG/libredwg/issues/512/comments | 2 | 2022-07-31T15:58:02Z | 2023-06-27T10:17:49Z | https://github.com/LibreDWG/libredwg/issues/512 | 1,323,499,490 | 512 |
[
"LibreDWG",
"libredwg"
] | if I try load dxf different versions, I get 0 for on, locked, plotflag for all layer
[layersdxf.zip](https://github.com/LibreDWG/libredwg/files/9228210/layersdxf.zip)
| Wrong layers properties after dxf loading | https://api.github.com/repos/LibreDWG/libredwg/issues/510/comments | 1 | 2022-07-31T07:05:35Z | 2022-11-30T12:15:29Z | https://github.com/LibreDWG/libredwg/issues/510 | 1,323,381,133 | 510 |
[
"LibreDWG",
"libredwg"
] | I'm trying to import dwg, but I'm losing information about printing layers | _dwg_object_LAYER.plotflag always 0 | https://api.github.com/repos/LibreDWG/libredwg/issues/509/comments | 3 | 2022-07-29T12:41:09Z | 2022-07-30T20:48:29Z | https://github.com/LibreDWG/libredwg/issues/509 | 1,322,201,512 | 509 |
[
"LibreDWG",
"libredwg"
] | Hello, please delete this issue. I discovered the source of the problem. Sorry. | Extrusion direction | https://api.github.com/repos/LibreDWG/libredwg/issues/501/comments | 0 | 2022-07-13T13:15:21Z | 2022-07-13T18:45:16Z | https://github.com/LibreDWG/libredwg/issues/501 | 1,303,423,725 | 501 |
[
"LibreDWG",
"libredwg"
] | I tested on smoke/preR13 and work/preR13 branches
```
$ make distclean
$ ./configure --disable-write
$ make
```
Error:
```
...
CCLD dwgread
/usr/bin/ld: ../src/.libs/libredwg.so: undefined reference to `dwg_add_LAYER'
/usr/bin/ld: ../src/.libs/libredwg.so: undefined reference to `dwg_add_STYLE'
/u... | Cannot build libredwg with --disable-write | https://api.github.com/repos/LibreDWG/libredwg/issues/498/comments | 5 | 2022-06-24T10:49:04Z | 2022-07-31T12:57:07Z | https://github.com/LibreDWG/libredwg/issues/498 | 1,283,596,621 | 498 |
[
"LibreDWG",
"libredwg"
] | # Vulnerability description
version: [0.12.4.4608](https://github.com/LibreDWG/libredwg/releases/tag/0.12.4.4608) & latest commit [f2dea29](https://github.com/LibreDWG/libredwg/commit/f2dea296a0a3bb16afdae8d2ca16749a617a4383)
poc: [poc](https://github.com/0xdd96/PoC/raw/main/libredwg/UAF-bit_copy_chain)
command: ./... | Heap use-after-free still exists in the bit_copy_chain | https://api.github.com/repos/LibreDWG/libredwg/issues/497/comments | 2 | 2022-06-17T12:04:26Z | 2023-06-27T10:19:27Z | https://github.com/LibreDWG/libredwg/issues/497 | 1,274,949,181 | 497 |
[
"LibreDWG",
"libredwg"
] | I download the libredwg-0.12.5-win32.zip,then I find the lib is libredwg.dll.a.In general, the file format in visual studio is .lib
Is there an example of using libredwg in Visual Studio?
| How to use libredwg in Visual Studio? | https://api.github.com/repos/LibreDWG/libredwg/issues/496/comments | 1 | 2022-06-13T03:33:59Z | 2022-06-13T06:23:58Z | https://github.com/LibreDWG/libredwg/issues/496 | 1,268,853,789 | 496 |
[
"LibreDWG",
"libredwg"
] | Someone is not setting dwg->dirty_refs when reallocing some objects,
leading to wrong ref->obj's, leading to unit-test errors/regressions.
find the culprit, blocks merge of the preR13 branch.
| missing dwg->dirty_refs in preR13 regression | https://api.github.com/repos/LibreDWG/libredwg/issues/495/comments | 1 | 2022-06-09T10:44:07Z | 2022-07-28T15:28:48Z | https://github.com/LibreDWG/libredwg/issues/495 | 1,265,942,087 | 495 |
[
"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
==9543==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fffffffc8f0 at pc 0x00000072... | stack-buffer-overflow exists in the function copy_bytes in decode_r2007.c | https://api.github.com/repos/LibreDWG/libredwg/issues/494/comments | 3 | 2022-06-08T01:51:23Z | 2022-12-15T08:47:23Z | https://github.com/LibreDWG/libredwg/issues/494 | 1,264,082,849 | 494 |
[
"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
==9541==ERROR: AddressSanitizer: attempting double-free on 0x61a000000100 in thread T0:
#0 0... | double-free exists in the function dwg_read_file in dwg.c | https://api.github.com/repos/LibreDWG/libredwg/issues/493/comments | 2 | 2022-06-08T01:47:21Z | 2022-12-01T08:12:49Z | https://github.com/LibreDWG/libredwg/issues/493 | 1,264,080,771 | 493 |
[
"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
### output
dwg2dxf: decode.c:5801: int decode_preR13_entities(BITCODE_RL, BITCODE_RL, unsigned int, BITCODE_RL, BITCODE_RL, ... | Assertion dwg2dxf: decode.c:5801: int decode_preR13_entities(BITCODE_RL, BITCODE_RL, unsigned int, BITCODE_RL, BITCODE_RL, Bit_Chain *, Dwg_Data *): Assertion `!dat->bit' failed. Aborted. | https://api.github.com/repos/LibreDWG/libredwg/issues/492/comments | 4 | 2022-06-07T01:43:47Z | 2022-12-15T08:04:07Z | https://github.com/LibreDWG/libredwg/issues/492 | 1,262,615,938 | 492 |
[
"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
==8999==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x61a00000... | bad-free exists in the function dwg_read_file in dwg.c | https://api.github.com/repos/LibreDWG/libredwg/issues/491/comments | 3 | 2022-06-07T01:41:57Z | 2022-12-15T09:10:27Z | https://github.com/LibreDWG/libredwg/issues/491 | 1,262,615,064 | 491 |
[
"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
==8997==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000000730 at pc 0x0000005173... | heap-use-after-free exists in the function dwg_add_handleref in dwg.c | https://api.github.com/repos/LibreDWG/libredwg/issues/490/comments | 3 | 2022-06-07T01:40:09Z | 2022-12-15T08:40:34Z | https://github.com/LibreDWG/libredwg/issues/490 | 1,262,614,234 | 490 |
[
"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
==8995==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62e00000ac80 at pc 0x0000004bc... | heap-buffer-overflow exists in the function dwg_add_object in decode.c | https://api.github.com/repos/LibreDWG/libredwg/issues/489/comments | 3 | 2022-06-07T01:37:45Z | 2022-12-15T08:41:39Z | https://github.com/LibreDWG/libredwg/issues/489 | 1,262,613,027 | 489 |
[
"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
==8993==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x611000000144 at pc 0x000000706... | heap-buffer-overflow exists in the function decode_preR13_section_hdr in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/488/comments | 3 | 2022-06-07T01:34:49Z | 2022-12-15T08:43:05Z | https://github.com/LibreDWG/libredwg/issues/488 | 1,262,611,394 | 488 |
[
"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
==8989==ERROR: AddressSanitizer: heap-use-after-free on address 0x7ffff7e35838 at pc 0x0000007106... | heap-use-after-free exists in the function decode_preR13_section in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/487/comments | 3 | 2022-06-07T01:31:30Z | 2022-12-15T08:44:07Z | https://github.com/LibreDWG/libredwg/issues/487 | 1,262,609,657 | 487 |
[
"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
==8987==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000048 (pc 0x00000070e7b8 bp 0x7... | A NULL pointer dereference exists in the function decode_preR13_section in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/486/comments | 2 | 2022-06-07T01:27:22Z | 2022-12-15T15:33:17Z | https://github.com/LibreDWG/libredwg/issues/486 | 1,262,607,558 | 486 |
[
"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
==8985==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ffff6f8bc74 bp 0x7... | A NULL pointer dereference exists in the function decode_preR13 in decode_r11.c | https://api.github.com/repos/LibreDWG/libredwg/issues/485/comments | 2 | 2022-06-07T01:24:32Z | 2022-12-15T15:34:18Z | https://github.com/LibreDWG/libredwg/issues/485 | 1,262,606,161 | 485 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.