1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0030708: Modeling Data - Exception is raised while initializing TopoDS_Iterator with null shape

Added protection from null shapes to TopoDS_Iterator::Initialize method.
This commit is contained in:
emv
2019-05-13 12:32:09 +03:00
parent dbfe78b820
commit 7816900b8e
4 changed files with 76 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
puts "================"
puts "0030708: Modeling Data - Crash while initializing TopoDS_Iterator with null shape"
puts "================"
puts ""
if { [regexp "Cannot initialize" [OCC30708_1]]} {
puts "Error: Cannot initialize TopoDS_Iterator with null shape"
}

View File

@@ -0,0 +1,8 @@
puts "================"
puts "0030708: Modeling Data - Crash while initializing TopoDS_Iterator with null shape"
puts "================"
puts ""
if { [regexp "Cannot initialize" [OCC30708_2]]} {
puts "Error: Cannot initialize BRepLib_MakeWire with null wire"
}