]> OCCT Git - occt-copy.git/commitdiff
0022589: Fix uninitialized memory access issues
authorKGV and SZY <>
Fri, 30 Sep 2011 12:45:18 +0000 (12:45 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:30:38 +0000 (19:30 +0400)
src/AdvApp2Var/AdvApp2Var_Patch.cxx

index 2aa7274b102d91b58b5f12193e5e36fbaf4d13e2..3b178a39816fe5e5e8b6cda6950798138c83d3ff 100755 (executable)
@@ -39,6 +39,8 @@ myV0(0.),
 myV1(1.),
 myOrdInU(0),
 myOrdInV(0),
+myNbCoeffInU(0),
+myNbCoeffInV(0),
 myApprIsDone(Standard_False),
 myHasResult(Standard_False),
 myCutSense(0),
@@ -64,6 +66,8 @@ myV0(V0),
 myV1(V1),
 myOrdInU(iu),
 myOrdInV(iv),
+myNbCoeffInU(0),
+myNbCoeffInV(0),
 myApprIsDone(Standard_False),
 myHasResult(Standard_False),
 myCutSense(0),