Official mirror of libredwg. With CI hooks and nightly releases. PR's ok
Home Page:https://savannah.gnu.org/projects/libredwg/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
ManSoSec opened this issue 4 years ago · comments
A NULL check on mspace is missing here:
mspace
libredwg/src/out_dxfb.c
Lines 1869 to 1879 in 785df5f
While it is done here, which is a similar case:
libredwg/src/out_dxf.c
Lines 2261 to 2274 in 785df5f
dwg_model_space_object might return dwg->header_vars.BLOCK_RECORD_MSPACE->obj so I think the semantic is the same.
dwg_model_space_object
dwg->header_vars.BLOCK_RECORD_MSPACE->obj
libredwg/src/dwg.c
Line 861 in 007ebf4