]> OCCT Git - occt.git/commit
0031585: Access Violation while creating fillet - ChiFi3d_Builder::PerformIntersectio...
authorChris Hennes <chennes@pioneerlibrarysystem.org>
Sun, 13 Feb 2022 00:52:19 +0000 (18:52 -0600)
committersmoskvin <smoskvin@opencascade.com>
Mon, 14 Feb 2022 19:02:07 +0000 (22:02 +0300)
commitf91202f3ee09879e1b3a69ca7df8cde8e311ff1a
treedfde44971b56325ef11dffddee3c72221c146ef4
parent072b4d382ddfbaaaf6521017475dc8f46652c6fa
0031585: Access Violation while creating fillet - ChiFi3d_Builder::PerformIntersectionAtEnd

There is one case in PerformIntersectionAtEnd that did not test whether
an array access exceeded the length of the array, in rare cases
resulting in a segmentation fault. That error-handling behavior is
replaced by the exception code used elsewhere in the function. For
consistency, the code is copied exactly as implemented elsewhere. This
code has the same effect as that proposed by the bug submitter.
src/ChFi3d/ChFi3d_Builder_C1.cxx