From: Michael Vogt Date: Fri, 5 Aug 2011 10:29:40 +0000 (+0200) Subject: * test/integration/test-hashsum-verification: X-Git-Tag: 0.8.15.6~4 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/b1660aa192ff24747ac247805eda47b84a9cf933?hp=3568a640bd363409cdeb1cb69eaa3261c79f2ff2 * test/integration/test-hashsum-verification: - add regression test for hashsum verification * apt-pkg/acquire-item.cc: - if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test --- diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index ebd8d5a12..7eb5920e0 100644 --- a/apt-pkg/acquire-item.cc +++ b/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); } diff --git a/debian/changelog b/debian/changelog index f162e20f4..489960912 100644 --- a/debian/changelog +++ b/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: