View Issue Details

IDProjectCategoryView StatusLast Update
0025711Open CASCADEOCCT:Modeling Algorithmspublic2015-05-14 15:32
ReportermsvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.8.0 
Target Version6.9.0Fixed in Version6.9.0 
Summary0025711: Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx
DescriptionThe file AppParCurves_BSpGradient.gxx contains the static variable "islambdadefined" in global scope.
Analyzing the logic of its usage I came to conclusion that this can lead to usage of uninitialized fields mylambda1 and mylambda2 in the class AppParCurves_BSpFunction.
I suggest making this variable the field member (non-static) in the class AppParCurves_BSpGradient.
Steps To Reproducenot applicable
TagsNo tags attached.
Test case numberNot needed

Activities

git

2015-01-16 12:09

administrator   ~0036134

Branch CR25711 has been created by azv.

SHA-1: 133a67fe3e2ddc606e56eb9c72c7f5a8a2f25a07


Detailed log of new commits:

Author: azv
Date: Fri Jan 16 10:32:51 2015 +0300

    0025711: Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx

azv

2015-01-16 12:10

administrator   ~0036135

Branch CR25711 is ready for review.

msv

2015-01-16 12:59

developer   ~0036138

myIsLambdaDefined: Real;
This field must be of type Boolean.

git

2015-01-16 13:01

administrator   ~0036139

Branch CR25711 has been updated forcibly by azv.

SHA-1: 2001b5dfb61ce1c4d9d2617012e455aba048bc04

azv

2015-01-16 13:02

administrator   ~0036140

Sorry for misprint. The branch was updated.

msv

2015-01-16 14:28

developer   ~0036142

Reviewed.

apn

2015-01-21 13:07

administrator   ~0036313

Branch will be tested with CR25706_2.

apn

2015-01-26 16:18

administrator   ~0036657

Rise CR25706_2.

git

2015-03-18 13:36

administrator   ~0038558

Branch CR25711 has been deleted by inv.

SHA-1: 2001b5dfb61ce1c4d9d2617012e455aba048bc04

Related Changesets

occt: master 89bc1237

2015-01-16 07:32:51

azv


Committer: bugmaster Details Diff
0025711: Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx Affected Issues
0025711
mod - src/AppParCurves/AppParCurves_BSpGradient.cdl Diff File
mod - src/AppParCurves/AppParCurves_BSpGradient.gxx Diff File

Issue History

Date Modified Username Field Change
2015-01-15 17:38 msv New Issue
2015-01-15 17:38 msv Assigned To => msv
2015-01-15 17:41 msv Assigned To msv => azv
2015-01-15 17:41 msv Status new => assigned
2015-01-16 12:09 git Note Added: 0036134
2015-01-16 12:10 azv Note Added: 0036135
2015-01-16 12:10 azv Assigned To azv => msv
2015-01-16 12:10 azv Status assigned => resolved
2015-01-16 12:59 msv Note Added: 0036138
2015-01-16 12:59 msv Assigned To msv => azv
2015-01-16 12:59 msv Status resolved => assigned
2015-01-16 13:01 git Note Added: 0036139
2015-01-16 13:02 azv Note Added: 0036140
2015-01-16 13:02 azv Assigned To azv => msv
2015-01-16 13:02 azv Status assigned => resolved
2015-01-16 14:28 msv Note Added: 0036142
2015-01-16 14:28 msv Assigned To msv => bugmaster
2015-01-16 14:28 msv Status resolved => reviewed
2015-01-21 11:50 apn Assigned To bugmaster => apn
2015-01-21 13:07 apn Note Added: 0036313
2015-01-26 16:16 apn Test case number => Not needed
2015-01-26 16:16 apn Assigned To apn => bugmaster
2015-01-26 16:16 apn Status reviewed => tested
2015-01-26 16:18 apn Note Added: 0036657
2015-01-30 14:00 bugmaster Changeset attached => occt master 89bc1237
2015-01-30 14:00 bugmaster Status tested => verified
2015-01-30 14:00 bugmaster Resolution open => fixed
2015-03-18 13:36 git Note Added: 0038558
2015-05-14 15:29 aiv Status verified => closed
2015-05-14 15:32 aiv Fixed in Version => 6.9.0