]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/configuration.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-pkg / contrib / configuration.cc
index 31cd9f8adc25efa0a4d6cf9a3bfd2f3a5105ee3b..4ef4663c0cb659b0318042df5f14057544911f85 100644 (file)
@@ -823,7 +823,7 @@ bool ReadConfigFile(Configuration &Conf,const string &FName,bool const &AsSectio
            // Go down a level
            if (TermChar == '{')
            {
-              if (StackPos <= 100)
+              if (StackPos < sizeof(Stack)/sizeof(std::string))
                  Stack[StackPos++] = ParentTag;
               
               /* Make sectional tags incorperate the section into the