From bc6b2bfa08fe5fb8eff65d04d81302d161956641 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 20 Jan 2016 12:24:48 +0100 Subject: treat an empty dependency field just like it doesn't exist Git-Dch: Ignore --- apt-pkg/deb/deblistparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg/deb/deblistparser.cc') 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(); -- cgit v1.2.3