mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0033540: Data Exchange - Segmentation fault on loading model
Implemented workaround to avoid crash on out-of-ISO files
This commit is contained in:
parent
b9fbc699b5
commit
a6e425d0a6
@ -85,6 +85,10 @@ void RWStepVisual_RWContextDependentOverRidingStyledItem::ReadStep
|
|||||||
aStyleContext->SetValue(i5,aStyleContextItem);
|
aStyleContext->SetValue(i5,aStyleContextItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
aStyleContext = new StepVisual_HArray1OfStyleContextSelect();
|
||||||
|
}
|
||||||
|
|
||||||
//--- Initialisation of the read entity ---
|
//--- Initialisation of the read entity ---
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user