Ver código fonte

fix crash when P.Arch() was used but the cache got remapped

Michael Vogt 15 anos atrás
pai
commit
629b60f6fe
2 arquivos alterados com 3 adições e 2 exclusões
  1. 1 1
      apt-pkg/acquire-item.cc
  2. 2 1
      debian/changelog

+ 1 - 1
apt-pkg/acquire-item.cc

@@ -1258,7 +1258,7 @@ void pkgAcqMetaIndex::Done(string Message,unsigned long Size,string Hash,	/*{{{*
       if (SigFile == "")
       if (SigFile == "")
       {
       {
          // There was no signature file, so we are finished.  Download
          // There was no signature file, so we are finished.  Download
-         // the indexes and do hashsum verification
+         // the indexes and do only hashsum verification
          MetaIndexParser->Load(DestFile);
          MetaIndexParser->Load(DestFile);
          QueueIndexes(true);
          QueueIndexes(true);
       }
       }

+ 2 - 1
debian/changelog

@@ -1,4 +1,4 @@
-apt (0.8.15.6) unstable; urgency=low
+apt (0.8.15.5.6) UNRELEASED; urgency=low
 
 
   * apt-pkg/contrib/fileutl.{cc,h}:
   * apt-pkg/contrib/fileutl.{cc,h}:
     - add GetModificationTime() helper
     - add GetModificationTime() helper
@@ -11,6 +11,7 @@ apt (0.8.15.6) unstable; urgency=low
     - use ref-to-ptr semantic in NewDepends() to ensure that the   
     - use ref-to-ptr semantic in NewDepends() to ensure that the   
       libapt does not segfault if the cache is remapped in between
       libapt does not segfault if the cache is remapped in between
       (LP: #812862)
       (LP: #812862)
+    - fix crash when P.Arch() was used but the cache got remapped
   * test/integration/test-hashsum-verification:
   * test/integration/test-hashsum-verification:
     - add regression test for hashsum verification
     - add regression test for hashsum verification
   * apt-pkg/acquire-item.cc:
   * apt-pkg/acquire-item.cc: