projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c95370
)
0022993: Crash during reading STEP file
author
gka
<gka@opencascade.com>
Tue, 6 Mar 2012 10:38:49 +0000
(14:38 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Tue, 6 Mar 2012 11:14:05 +0000
(15:14 +0400)
src/STEPControl/STEPControl_ActorRead.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/STEPControl/STEPControl_ActorRead.cxx
b/src/STEPControl/STEPControl_ActorRead.cxx
index
50b92ca
..
ccca047
100755
(executable)
--- a/
src/STEPControl/STEPControl_ActorRead.cxx
+++ b/
src/STEPControl/STEPControl_ActorRead.cxx
@@
-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