Attached file cases a segmentation fault on Debian 11 x86 with the current GIT release.

[1.zip](https://github.com/LibreDWG/libredwg/files/11244854/1.zip)


```
user@debian:~/libredwg$ gdb ./dwgread
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
(gdb)
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./dwgread...
(gdb) r -v9 /home/user/out/default/crashes/1*
Starting program: /home/user/libredwg/dwgread -v9 /home/user/out/default/crashes/1*
Reading DWG file /home/user/out/default/crashes/1.dwg

Program received signal SIGSEGV, Segmentation fault.
0xb6cfb56d in dwg_decode__3DSOLID_private (dat=<optimized out>, hdl_dat=<optimized out>, str_dat=0xbfffdd48, obj=0x825bab0) at src/dwg.spec:3001
3001      ACTION_3DSOLID;
(gdb)
```
Segmentation fault in dwg_decode__3DSOLID_private 
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Segmentation fault in dwg_decode__3DSOLID_private 
Issue date:

--- start body ---
Attached file cases a segmentation fault on Debian 11 x86 with the current GIT release.

[1.zip](https://github.com/LibreDWG/libredwg/files/11244854/1.zip)


```
user@debian:~/libredwg$ gdb ./dwgread
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
(gdb)
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./dwgread...
(gdb) r -v9 /home/user/out/default/crashes/1*
Starting program: /home/user/libredwg/dwgread -v9 /home/user/out/default/crashes/1*
Reading DWG file /home/user/out/default/crashes/1.dwg

Program received signal SIGSEGV, Segmentation fault.
0xb6cfb56d in dwg_decode__3DSOLID_private (dat=<optimized out>, hdl_dat=<optimized out>, str_dat=0xbfffdd48, obj=0x825bab0) at src/dwg.spec:3001
3001      ACTION_3DSOLID;
(gdb)
```
--- end body ---

A segmentation fault in the dwg_decode__3DSOLID_private function of LibreDWG allows attackers to cause a Denial of Service (DoS) by providing a specially crafted DWG file. This vulnerability can lead to application crashes when processing certain DWG files, indicating a potential security risk.