Explorar el Código

treat an empty dependency field just like it doesn't exist

Git-Dch: Ignore
David Kalnischkies hace 10 años
padre
commit
bc6b2bfa08
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apt-pkg/deb/deblistparser.cc

+ 1 - 1
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();