View Issue Details

IDProjectCategoryView StatusLast Update
0021945Open CASCADEOCCT:Foundation Classespublic2010-08-04 10:04
ReporterabvAssigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionduplicate 
OSAll 
Summary0021945: Provide initialization of all fields of type Standard_Real (double) in classes (start from gp)
DescriptionAs it is discovered (see bugs OCC21810 and RLN's fix 0000410 in OCC21843),
uninitialized double-valued fields in classes can cause problems in runtime
even if by the code they are not used until initialized, when such class is
copied (e.g. added to collection):

- Exception may happen (see OCC21810)

- Memory checker will complain on uninitialized memory access (RLN fix)

The only regular way to avoid this problem is to provide initialization of all
fields having type double. In OCCT it refers first of all to classes in gp
package, other should be considered later.
TagsNo tags attached.
Test case number

Relationships

has duplicate 0020300 closedabv Uninitialised member variables in gp package 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-08-04 10:04 bugmaster Status new => closed
2010-08-04 10:04 bugmaster Resolution @0@ => duplicate
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes