occt: master f91202f3

Author Committer Branch Timestamp Parent
chennes smoskvin master 2022-02-13 03:52:19 master 072b4d38
Affected Issues  0031585: Access Violation while creating fillet - ChFi3d_Builder::PerformIntersectionAtEnd
Changeset 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.
mod - src/ChFi3d/ChFi3d_Builder_C1.cxx Diff File