]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/tagfile.cc
add a testcase for 100 char long path truncate bug #689582
[apt.git] / apt-pkg / tagfile.cc
index 10bc08d9501e385304adb93899ca8a113f3dc3e8..b91e868e2a6c9f6169038dc336bcc517efe84a23 100644 (file)
@@ -233,6 +233,16 @@ bool pkgTagFile::Jump(pkgTagSection &Tag,unsigned long long Offset)
    return true;
 }
                                                                        /*}}}*/
+// pkgTagSection::pkgTagSection - Constructor                          /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+pkgTagSection::pkgTagSection()
+   : Section(0), TagCount(0), d(NULL), Stop(0)
+{
+   memset(&Indexes, 0, sizeof(Indexes));
+   memset(&AlphaIndexes, 0, sizeof(AlphaIndexes));
+}
+                                                                       /*}}}*/
 // TagSection::Scan - Scan for the end of the header information       /*{{{*/
 // ---------------------------------------------------------------------
 /* This looks for the first double new line in the data stream.