summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-20 12:24:48 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-25 18:15:44 +0100
commitbc6b2bfa08fe5fb8eff65d04d81302d161956641 (patch)
tree0a519688b8e4eec61a8f17092d840cfd98afce7d /apt-pkg/deb/deblistparser.cc
parent530302ef25d14bd7577f18cf98c2fa868c3c1dd3 (diff)
treat an empty dependency field just like it doesn't exist
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r--apt-pkg/deb/deblistparser.cc2
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();