Fix regression for file:/// uris from CVE-2014-0487
authorMichael Vogt <mvo@ubuntu.com>
Wed, 17 Sep 2014 12:57:05 +0000 (14:57 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 17 Sep 2014 12:57:05 +0000 (14:57 +0200)
commitdaff4aa356128310f022370f7825bdc369c66ba8
treeef5f4a603d841af8e1db4187b6e8be2374549adb
parent4502ab82b3cc75e2290cecdef1467da3e51d8647
Fix regression for file:/// uris from CVE-2014-0487

Do not run ReverifyAfterIMS() for local file URIs as this will
causes apt to mess around in the file:/// uri space. This is
wrong in itself, but it will also cause a incorrect verification
failure when the archive and the lists directory are on different
partitions as rename().
apt-pkg/acquire-item.cc
test/integration/test-apt-update-file [new file with mode: 0755]