View Issue Details

IDProjectCategoryView StatusLast Update
0027046Open CASCADEOCCT:Data Exchangepublic2022-10-24 10:39
Reporterabv Assigned Togka  
PrioritynormalSeverityminor 
Status newResolutionopen 
Target Version7.8.0 
Summary0027046: STEP -- Possible misuse of StepData_StepModel::SetIdentLabel() in StepAP209_Construct
DescriptionMethods 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.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-12-28 22:46 abv New Issue
2015-12-28 22:46 abv Assigned To => gka
2016-10-26 11:55 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:24 abv Target Version 7.2.0 => 7.4.0
2019-09-04 12:58 abv Target Version 7.4.0 => 7.5.0
2020-09-17 19:53 gka Target Version 7.5.0 => 7.6.0
2021-10-07 12:34 szy Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0