mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0022993: Crash during reading STEP file
This commit is contained in:
parent
5c95370148
commit
d6320495e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user