0030790: [REGRESSION] Modeling Algorithms - Crash when loading specific step file
authormsv <msv@opencascade.com>
Mon, 15 Jul 2019 16:47:14 +0000 (19:47 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 19 Jul 2019 09:23:00 +0000 (12:23 +0300)
commite8dec5e17143cb9ce4e1fcae1af14e4456de102d
treed3eedc187be27d3c3a1269cf4a82ef06fe33328b
parent0dab581700d250cc0748062ce98cf4a2be2c141f
0030790: [REGRESSION] Modeling Algorithms - Crash when loading specific step file

The problem occurred when the algorithm IntCurvesFace_Intersector was called for a face occupying zero extension along V direction. This is obviously a bad face, but we need to have the algorithm not crashing the application. So, the algorithm has been protected against such input data. At attempt to make calculations it establishes NotDone status.

Bad test case tests/de/step_3/D9 has been updated.
False memory leak detection has been suppressed in tests/bugs/fclasses/bug7287_2.
src/IntCurvesFace/IntCurvesFace_Intersector.cxx
src/IntCurvesFace/IntCurvesFace_Intersector.hxx
tests/bugs/fclasses/bug7287_2
tests/bugs/step/bug30790 [new file with mode: 0644]
tests/de/step_3/D9