diff options
author | Julian Andres Klode <jak@debian.org> | 2016-09-18 13:24:35 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-10-05 21:53:39 +0200 |
commit | f54a4774ea901f861de96b13a4d952b8ea6c2976 (patch) | |
tree | 0a9b235aa0ee9dda9c0af9bae85c056fc90b9892 /apt-pkg/acquire.cc | |
parent | 420871ad79e85480d1ac34f2d9da1c706f1ea6f4 (diff) |
VersionHash: Do not skip too long dependency lines
If the dependency line does not contain spaces in the repository
but does in the dpkg status file (because dpkg normalized the
dependency list), the dpkg line might be longer than the line
in the repository. If it now happens to be longer than 1024
characters, it would be skipped, causing the hashes to be
out of date.
Note that we have to bump the minor cache version again as
this changes the format slightly, and we might get mismatches
with an older src cache otherwise.
Fixes Debian/apt#23
(cherry picked from commit 708e2f1fe99e6f067292bc909f03f12c181e4798)
Diffstat (limited to 'apt-pkg/acquire.cc')
0 files changed, 0 insertions, 0 deletions