diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-05-05 09:54:49 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-05-05 09:54:49 +0200 |
commit | 63b528a4585d10926a9972663435bc0abc815345 (patch) | |
tree | 169b3c243c6cbd15f4c38325e220fd702fe3b71c | |
parent | 8f40076991ecc89ab1e3c486da2696a44c285f18 (diff) |
* apt-pkg/deb/debrecords.cc:
- fix max tag buffer size (LP: #545336, closes: #578959)
-rw-r--r-- | apt-pkg/deb/debrecords.cc | 3 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index 8ed0bb7eb..57d30dc62 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -19,7 +19,8 @@ /* */ debRecordParser::debRecordParser(string FileName,pkgCache &Cache) : File(FileName,FileFd::ReadOnly), - Tags(&File,Cache.Head().MaxVerFileSize + 200) + Tags(&File, std::max(Cache.Head().MaxVerFileSize, + Cache.Head().MaxDescFileSize) + 200) { } /*}}}*/ diff --git a/debian/changelog b/debian/changelog index 7c0024160..786fbb1db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,8 @@ apt (0.7.25.4) UNRELEASED; urgency=low This is required for languages like Esperanto that have no county associated with them (LP: #560956) Thanks to "Aisano" for the fix + * apt-pkg/deb/debrecords.cc: + - fix max tag buffer size (LP: #545336, closes: #578959) [ Robert Collins ] * Change the package index Info methods to allow apt-cache policy to be |