1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +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:
ichesnok 2023-11-27 14:29:00 +00:00 committed by dpasukhi
parent b9fbc699b5
commit a6e425d0a6

View File

@ -85,6 +85,10 @@ void RWStepVisual_RWContextDependentOverRidingStyledItem::ReadStep
aStyleContext->SetValue(i5,aStyleContextItem);
}
}
else
{
aStyleContext = new StepVisual_HArray1OfStyleContextSelect();
}
//--- Initialisation of the read entity ---