mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022993: Crash during reading STEP file
This commit is contained in:
@@ -271,6 +271,8 @@ Handle(Transfer_Binder) STEPControl_ActorRead::Transfer
|
||||
DeclareAndCast( HeaderSection_FileName, aFileNameEntity, anEntIt.Value() );
|
||||
if ( !aFileNameEntity.IsNull() ) {
|
||||
Handle(TCollection_HAsciiString) aPPVersion = aFileNameEntity->PreprocessorVersion();
|
||||
if(aPPVersion.IsNull())
|
||||
continue;
|
||||
#ifdef DEB
|
||||
cout << "Preprocessor version detected: " << aPPVersion->ToCString() << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user