]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/debrecords.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 May 2010 07:58:23 +0000 (09:58 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 May 2010 07:58:23 +0000 (09:58 +0200)
  - fix max tag buffer size (LP: #545336, closes: #578959)

apt-pkg/deb/debrecords.cc
debian/changelog

index 8ed0bb7eb2febee4323a8218992ac3145512725d..57d30dc62da61da7c84aba354f7e842e046c7de7 100644 (file)
@@ -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)
 {
 }
                                                                        /*}}}*/
index 8e8ecca09a367fc943bb426dca84edfcbbed54a5..7ff516fc2b1517686e6a63dd9daf7871ea9edd6d 100644 (file)
@@ -1,8 +1,13 @@
-apt (0.7.25.3ubuntu8) UNRELEASED; urgency=low
+apt (0.7.25.3ubuntu8) lucid-proposedUNRELEASED; urgency=low
 
+  [ Loïc Minier ]
   * Use https:// in Vcs-Bzr URL.
 
- -- Loïc Minier <loic.minier@ubuntu.com>  Thu, 22 Apr 2010 10:57:24 +0200
+  [ Michael Vogt ]
+  * apt-pkg/deb/debrecords.cc:
+    - fix max tag buffer size (LP: #545336, closes: #578959)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Wed, 05 May 2010 09:57:53 +0200
 
 apt (0.7.25.3ubuntu7) lucid; urgency=low