]> 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)
committerkgv <kgv@opencascade.com>
Fri, 22 Apr 2022 08:20:39 +0000 (11:20 +0300)
commitda9cb57f577c4bf40fd3905451607348fa02c633
tree4c09b7112343b2a5c405a4c43d500b0d1117e661
parent60490a5c19ef44ae298ff580484decbb3db91c88
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