mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0033377: Data Exchange - STEPCAFControl_Reader crash in OCC 7.7.0
Added checking for null object for STEPCAFControl_Reader::SettleShapeData
This commit is contained in:
parent
359edc7d8a
commit
e4f00dbb7e
@ -4657,6 +4657,8 @@ TDF_Label STEPCAFControl_Reader::SettleShapeData(const Handle(StepRepr_Represent
|
||||
const Handle(Transfer_TransientProcess)& TP) const
|
||||
{
|
||||
TDF_Label aResult = theLab;
|
||||
if (theItem.IsNull())
|
||||
return aResult;
|
||||
|
||||
Handle(TCollection_HAsciiString) hName = theItem->Name();
|
||||
if (hName.IsNull() || hName->IsEmpty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user