From: kgv Date: Tue, 12 Mar 2019 07:51:40 +0000 (+0300) Subject: 0030552: Foundation Classes - Stack overflow due to math_SingleTab static array size X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR30552;p=occt-copy.git 0030552: Foundation Classes - Stack overflow due to math_SingleTab static array size math_Vector, math_IntegerVector - static size of NCollection_LocalArray has been reduced from 512 to 32. --- diff --git a/src/math/math_IntegerVector.hxx b/src/math/math_IntegerVector.hxx index 1fc47dea98..5241fc1820 100644 --- a/src/math/math_IntegerVector.hxx +++ b/src/math/math_IntegerVector.hxx @@ -263,7 +263,7 @@ protected: private: - NCollection_LocalArray myLocArray; + NCollection_LocalArray myLocArray; NCollection_Array1 Array; }; diff --git a/src/math/math_Vector.hxx b/src/math/math_Vector.hxx index 0c49d5166c..308d889880 100644 --- a/src/math/math_Vector.hxx +++ b/src/math/math_Vector.hxx @@ -338,7 +338,7 @@ protected: private: - NCollection_LocalArray myLocArray; + NCollection_LocalArray myLocArray; NCollection_Array1 Array; };