1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-16 10:08:36 +03:00

0032980: Data Exchange - STEP import produce a crash

Check on null for loop added
This commit is contained in:
ichesnok 2024-01-18 13:55:38 +00:00
parent f035e0718b
commit dec56592dd

View File

@ -545,7 +545,10 @@ void StepToTopoDS_TranslateFace::Init(const Handle(StepShape_FaceSurface)& FS,
#endif #endif
FaceBound = FS->BoundsValue(i); FaceBound = FS->BoundsValue(i);
Loop = FaceBound->Bound(); Loop = FaceBound->Bound();
if (Loop.IsNull())
{
continue;
}
// ------------------------ // ------------------------
// The Loop is a VertexLoop // The Loop is a VertexLoop
// ------------------------ // ------------------------