Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027426Open CASCADE[OCCT] OCCT:Application Frameworkpublic2016-04-25 12:292017-07-27 10:38
Assigned Toibs 
PlatformOSOS Version
Product Version[OCCT] 7.0.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0027426: FSD_BinaryFile: Assignment to a temporary handle variable
DescriptionThe line 689 of the current version of the file FSD_BinaryFile.cxx looks like this:

      iData->ReadArray() = new Storage_HPArray(1, theData->NumberOfObjects());

But the method ReadArray() of the class Storage_InternalData returns handle by value. So, this assignment will no take any effect, and the logic of the code becomes ill.

This code was integrated with the fix to the bug #26229.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
abv (manager)
2016-11-22 12:07

This code seems to be dead: apart of apparent bug in initialization of a field, another problem is that this field (Storage_InternalData::myReadArray, accessed by method ReadArray()) is nowhere used outside of FSD_BinaryFile::ReadCompleteInfo(), and there is no known test cases when that code using it is activated... This is to be investigated further.

- Issue History
Date Modified Username Field Change
2016-04-25 12:29 msv New Issue
2016-04-25 12:29 msv Assigned To => mpv
2016-04-25 12:29 msv Relationship added child of 0026229
2016-04-25 12:30 msv Assigned To mpv => ibs
2016-09-23 12:20 abv Assigned To ibs => ski
2016-09-23 12:20 abv Status new => assigned
2016-11-22 11:14 kgv Assigned To ski => ibs
2016-11-22 12:07 abv Note Added: 0060668
2016-11-22 12:07 abv Target Version 7.1.0 => 7.2.0
2017-07-27 10:38 abv Target Version 7.2.0 => 7.4.0*

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker