MantisBT - Open CASCADE
View Issue Details
0027046Open CASCADE[OCCT] OCCT:Data Exchangepublic2015-12-28 22:462020-09-17 19:53
[OCCT] 7.6.0* 
0027046: STEP -- Possible misuse of StepData_StepModel::SetIdentLabel() in StepAP209_Construct
Methods of StepAP209_Construct class call StepData_StepModel::SetIdentLabel() for each entity after it has been added to the model. This seems to be misuse that can lead to memory corruption: SetIdentLabel() will allocate array "theidnums" only on the first call, with size equal to current number of entities in the model; on consequent calls the array will be written out of its bounds as soon as new entities are added.
No tags attached.
Issue History
2015-12-28 22:46abvNew Issue
2015-12-28 22:46abvAssigned To => gka
2016-10-26 11:55gkaTarget Version7.1.0 => 7.2.0
2017-07-27 09:24abvTarget Version7.2.0 => 7.4.0
2019-09-04 12:58abvTarget Version7.4.0 => 7.5.0
2020-09-17 19:53gkaTarget Version7.5.0 => 7.6.0*

There are no notes attached to this issue.