Просмотр исходного кода

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

Michael Vogt лет назад: 15
Родитель
Сommit
629b60f6fe
2 измененных файлов с 3 добавлено и 2 удалено
  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 == "")
       {
          // 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);
          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}:
     - 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   
       libapt does not segfault if the cache is remapped in between
       (LP: #812862)
+    - fix crash when P.Arch() was used but the cache got remapped
   * test/integration/test-hashsum-verification:
     - add regression test for hashsum verification
   * apt-pkg/acquire-item.cc: