]> OCCT Git - occt.git/commit
0033567: Modeling Data - GeomLib_IsPlanarSurface raises exception SIGFPE Arithmetic...
authoroan <oan@opencascade.com>
Fri, 5 Jan 2024 15:44:06 +0000 (15:44 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Sun, 31 Mar 2024 21:39:22 +0000 (22:39 +0100)
commit58393b24b68d7f98f8a719e3b5590d328acaeac3
tree6f8016c8127a4f06fd0d1c98f4b1fb803331f5d6
parentb896c6f4af81b710607255d594378c166a78b1dc
0033567: Modeling Data - GeomLib_IsPlanarSurface raises exception SIGFPE Arithmetic Exception in Release mode

Add protection against zero-division
src/GeomLib/GeomLib_IsPlanarSurface.cxx
tests/bugs/moddata_3/bug33567 [new file with mode: 0644]