diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-20 12:24:48 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-25 18:15:44 +0100 |
commit | bc6b2bfa08fe5fb8eff65d04d81302d161956641 (patch) | |
tree | 0a519688b8e4eec61a8f17092d840cfd98afce7d | |
parent | 530302ef25d14bd7577f18cf98c2fa868c3c1dd3 (diff) |
treat an empty dependency field just like it doesn't exist
Git-Dch: Ignore
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 17e781c48..090673db2 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -813,7 +813,7 @@ bool debListParser::ParseDepends(pkgCache::VerIterator &Ver, { const char *Start; const char *Stop; - if (Section.Find(Tag,Start,Stop) == false) + if (Section.Find(Tag,Start,Stop) == false || Start == Stop) return true; string const pkgArch = Ver.Arch(); |