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

0026461: STEP Import interface crashes

Add a check for NULL;
some code refactoring.

Test case for issue CR26461
This commit is contained in:
ika
2015-08-27 13:30:38 +03:00
committed by ski
parent 649e34c9b6
commit 9c3cce7ab1
2 changed files with 25 additions and 9 deletions

11
tests/bugs/step/bug26461 Normal file
View File

@@ -0,0 +1,11 @@
puts "============"
puts "OCC26461"
puts "============"
puts ""
#####################################################
# STEP Import interface crashes
#####################################################
ReadStep D [locate_data_file bug26461_test_ap227.stp]