summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-22 22:30:20 +0200
committerMichael Vogt <mvo@debian.org>2013-08-22 22:30:20 +0200
commit2510eea4a0922b7b6da8099deb70ca87851633ce (patch)
tree4a5c22eb4e0d3747e3da267c42c100606ad863aa /apt-pkg/tagfile.cc
parent0644bed3baac08bbfb495dcfe60c3bbb6f8fbd02 (diff)
do chdir("/") after chroot()
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r--apt-pkg/tagfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc
index 868adf3d2..b91e868e2 100644
--- a/apt-pkg/tagfile.cc
+++ b/apt-pkg/tagfile.cc
@@ -237,7 +237,7 @@ bool pkgTagFile::Jump(pkgTagSection &Tag,unsigned long long Offset)
// ---------------------------------------------------------------------
/* */
pkgTagSection::pkgTagSection()
- : Section(0), TagCount(0), Stop(0), d(NULL)
+ : Section(0), TagCount(0), d(NULL), Stop(0)
{
memset(&Indexes, 0, sizeof(Indexes));
memset(&AlphaIndexes, 0, sizeof(AlphaIndexes));