1
0
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:
gka 2012-03-06 14:38:49 +04:00 committed by bugmaster
parent 5c95370148
commit d6320495e7

View File

@ -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