From: David Kalnischkies Date: Wed, 20 Jan 2016 11:24:48 +0000 (+0100) Subject: treat an empty dependency field just like it doesn't exist X-Git-Tag: 1.2.2~34 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/bc6b2bfa08fe5fb8eff65d04d81302d161956641?ds=inline;hp=--cc treat an empty dependency field just like it doesn't exist Git-Dch: Ignore --- bc6b2bfa08fe5fb8eff65d04d81302d161956641 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();