MantisBT - Open CASCADE
View Issue Details
0028597Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2017-03-27 16:072020-08-28 13:25
msv 
emv 
normalminor 
assignedopen 
[OCCT] 7.1.0 
[OCCT] 7.6.0* 
0028597: Unsafe code in BRepOffset_MakeOffset_1.cxx
The following pieces of code in the file BRepOffset_MakeOffset_1.cxx are unsafe and cause exceptions in some cases:

1) The algorithm BOPAlgo_Section called from the method GetInvalidEdgesByBounds() is not checked for status is done.

2) In the method TrimNewIntersectionEdges null vertices are added to the algorithm BOPAlgo_Builder:
      TopExp::Vertices(TopoDS::Edge(aE), aV1, aV2);
      aGFE.AddArgument(aV1);
      aGFE.AddArgument(aV2);
No tags attached.
Issue History
2017-03-27 16:07msvNew Issue
2017-03-27 16:07msvAssigned To => msv
2017-03-27 16:07msvAssigned Tomsv => emv
2017-03-27 16:07msvStatusnew => assigned
2017-07-24 09:22msvTarget Version7.2.0 => 7.3.0
2017-12-05 17:09msvTarget Version7.3.0 => 7.4.0
2019-08-12 16:44msvTarget Version7.4.0 => 7.5.0
2020-08-28 13:25emvTarget Version7.5.0 => 7.6.0*

There are no notes attached to this issue.