summaryrefslogtreecommitdiff
path: root/mirror-failure.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-05-30 14:04:01 +0200
committerJulian Andres Klode <jak@debian.org>2011-05-30 14:04:01 +0200
commit0901c5d08eadea5b5d91b09d4f532a029cb42574 (patch)
tree4e5006b2bfe1287d8b1c0a13ca84428e71672f26 /mirror-failure.py
parentdb95f57184f0e5a767aa07c1b629b987093f342e (diff)
apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) (Closes: #195301)
This commit deals with the following cases: - First section of index file (Packages,Sources,Translation) without Package field - Signed release files without GPG data (NODATA) - i18n/Index files without hash sums Handling unsigned Release files is more complicated, and the example code using indexRecords is disabled as it can reject correct Release files without hashes. How we can reliably check unsigned Release files is another question, and not urgent anyway, as it should have no dramatic effect (we could check that it is a valid RFC-822 section, but that's a bit too long to write)
Diffstat (limited to 'mirror-failure.py')
0 files changed, 0 insertions, 0 deletions