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 2aa7274..3b178a3 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),