View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0027046 | Open CASCADE | [OCCT] OCCT:Data Exchange | public | 2015-12-28 22:46 | 2020-09-17 19:53 |
|
Reporter | abv | |
Assigned To | gka | |
Priority | normal | Severity | minor | |
Status | new | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | [OCCT] 7.6.0* | Fixed in Version | | |
|
Summary | 0027046: STEP -- Possible misuse of StepData_StepModel::SetIdentLabel() in StepAP209_Construct |
Description | 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. |
Tags | No tags attached. |
|
Test case number | |
|
Attached Files | |
|